This is the mail archive of the
mailing list for the GCC project.
Re: [C++ PATCH] warning about empty extern "C" structures
On May 17, 2006, at 10:34 AM, Daniel Jacobowitz wrote:
- Using it in extern "C" in the GNU dialects is obviously broken,
it will be given the C++ layout, but the C version it is trying to
interface will be given the C layout, and they will not match.
Why? it only changes the linkage of the structs/variables/functions
and never the layout.