This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: gcc std namespace bug


On Aug  4, 2000, Levente Farkas <lfarkas@mindmaker.hu> wrote:

> # gcc -fhonor-std test.cpp
> /tmp/ccnxRogi.o: In function `myalloc(void)':
> /home/lfarkas/tmp/test.cpp:7: undefined reference to `std::bad_alloc type_info
> function'
> /home/lfarkas/tmp/test.cpp:7: undefined reference to `std::terminate(void)'

Did you compile libgcc and libstdc++ with -fhonor-std?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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