------- Comment #25 from joseph at codesourcery dot com 2007-02-03 15:13 ------- Subject: Re: Illegal use of typedef to "void"
On Sat, 3 Feb 2007, tbm at cyrius dot com wrote: > Is the following supposed to fail given that Joseph said that it's valid C > code > (but not valid in C++) and the header contains extern "C": extern "C" does not change the language rules, only linkage. The contents must still be valid C++ and are interpreted according to C++ rules for those cases where the same code is valid C and C++ but has different semantics in the two languages. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9278