undesired warnings from <vector.h>
Jason Merrill
jason@cygnus.com
Mon Sep 15 18:18:00 GMT 1997
>>>>> Yotam Medini <yotamm@tmai.com> writes:
> egcs's g++ with its new STL headers give undesired warnings
> that are not with g++/libg++ 2.7.2.
> /home/seg/yotam/build/dryinst.Solaris/lib/g++-include/std/new.h:26: warning: declaration of `operator delete(void *)' throws different exceptions
> <internal>:26: warning: previous declaration here
There is no std/new.h in the egcs libstdc++. You need to remove the libg++
2.7.2 headers.
Jason
More information about the Gcc-bugs
mailing list