This is the mail archive of the libstdc++@sources.redhat.com 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: still problems with libstdcxx-v3 and -ansi


On Fri, 22 Sep 2000, Martin Reinecke wrote:
> Hi!
> 
> I just wanted to remind you of the problem I reported in
> 
> http://sources.redhat.com/ml/libstdc++/2000-q2/msg00334.html
> 
> As far as I can tell the situation is even worse at the moment
> (CVS 20000920), because the list of undeclared functions that 
> are needed in <cmath> is now even longer.
> 
> It's not a good thing if the standard library can't be used
> with -ansi ;)

Perhaps, perhaps not.  From 'gcc --help -v'

	Langauge specific options:
	   -ansi		Compile just for ISO C89

thus one might argue that -ansi is not meaningfull for a C++ program.  In that
case however, I would also argue that -ansi should be rejected by the
pre-processor if applied to C++ source ;0

-- 
Steven King
sxking@uswest.net

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