Different behaviour of gcc and g++ (egcs-1.1.1 release)

Mike Stump mrs@wrs.com
Wed Mar 3 13:59:00 GMT 1999


> From: Carlo Wood <carlo@runaway.xs4all.nl>
> Date: Wed, 3 Mar 1999 14:38:38 +0100 (CET)

> the following very simple C program does compile as C++ program,
> but the C compiler refuses to compile it.  Is this a bug?

Yes, GNU C should be forward compatible with future ISO C standards
and in a future ISO C standard they will fix this.  The the ISO C++
Standard for the fixed semantics.


More information about the Gcc mailing list