This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
() in C++ (was Re: [PATCH] C and C++ ICEs)
>>>>> Nathan Sidwell <nathan@codesourcery.com> writes:
> So, Jason, what is your opinion about always treating
> extern "C" void foo ();
> extern "C" void (*ptr) ();
> as
> extern "C" void foo (void);
> extern "C" void (*ptr) (void);
> ?
I'm opposed to it. That feature is there to deal with C library headers
that have not been updated to include proper prototypes, such as the X
library headers on some systems.
Jason