This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: migrating from msvc to gcc
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Lars Andersen <lars at rimfaxe dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 01 Dec 2002 10:25:18 -0200
- Subject: Re: migrating from msvc to gcc
- Organization: GCC Team, Red Hat
- References: <1038494072.2333.0.camel@lars.rimfaxe.com>
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