Bug: Fatal ANSI Warning messages

Mumit Khan khan@xraylith.wisc.edu
Tue Oct 6 19:25:00 GMT 1998


On Tue, 6 Oct 1998, Charles Durst wrote:

> 
> The entire source file (try.cxx):
> 
>     extern "C" foo();
> 
>     void bar()
>     {
>         foo();
>     }
> 

[ fatal (incorrect) error ... ]

The fix is in both the development and egcs-1.1 branch, so the next
release will have the fix.  You can get the patch from egcs-patches
archive (posted Sept 8, 1998). Search for the subject:

   "egcs-1.1 C++ parser bug fix for extern C"

and rebuild.

Regards,
Mumit




More information about the Gcc-bugs mailing list