This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: C++ vs. AIX -ansi


On Tue, Feb 06, 2001 at 01:33:47AM -0500, David Edelsohn wrote:
> >>>>> Mark Mitchell writes:
> 	_ANSI_SOURCE is defined in tm.h CPP_SPEC.  If there is a way to
> distinguish the language, we can enable the macro only for C.  Of course
> if one preprocessed a file with C and ran the preprocessed output through
> C++, things would be wrong.

You can't expect code preprocessed with C to compile right in C++ anyway.
Not least, you won't have got the "#ifdef __cplusplus" bits right.

Nathan Myers
ncm at cantrip dot org

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]