migrating from msvc to gcc

Alexandre Oliva aoliva@redhat.com
Sun Dec 1 04:25:00 GMT 2002


On Nov 28, 2002, Lars Andersen <lars@rimfaxe.com> wrote:

> ISO C++ forbids declarations of `terminate_function´ with no type

Looks like you're relying on the implicit-int rule, that used to be
part of the C Standard, but that is not well-formed C++.  g++
-fpermissive *might* be able to cope with this buggy code, but in the
long run you'll probably be better off turning the ill-formed code
into valid C++.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Gcc mailing list