This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: AIX: Add dg-options to tests that override operator new
- From: Graham Reed <greed at pobox dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: libstdc++ at gcc dot gnu dot org, David Edelsohn <dje dot gcc at gmail dot com>
- Date: Mon, 24 Jan 2011 15:50:58 -0500
- Subject: Re: AIX: Add dg-options to tests that override operator new
- References: <4D3DD82D.3000204@pobox.com> <4D3DE503.5040803@oracle.com>
On 01/24/11 15:45, Paolo Carlini wrote:
I have no objections, only I would suggest summarizing the issue in a
small comment preceding the dg-options.
Ah, yes, that would be a good idea. Something like:
// On AIX, to override libstdc++.a's definition of operator new() and
// delete(), we must both export the symbols from the main program (so
// they are visible at run-time) and activate the run-time (which
// will perform the replacement).
I can re-form the patch if you guys are happy with that phrasing.