This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/50982] AIX libstdc++ GTHREADS incompatibility
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 05 Nov 2011 16:31:36 +0000
- Subject: [Bug libstdc++/50982] AIX libstdc++ GTHREADS incompatibility
- Auto-submitted: auto-generated
- References: <bug-50982-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982
--- Comment #38 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-11-05 16:31:36 UTC ---
Well that's *really* strange. The declaration is a C++ function in C++ code,
the extern "C" doesn't alter that, and void f() is identical to void f(void) in
C++ (except that the latter has rightly been described as "an abomination" by
Doug McIlroy and Dennis Ritchie)
Does AIX have special rules in the C++ front end that cause an empty function
parameter list to be considered a varargs function?!