This is the mail archive of the java-patches@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Cleanup patches to build libgcj on x86/linux


Bryce> "An extern "C" directive specifies the linkage convention
Bryce> (only) and does not affect the semantics of the function. In
Bryce> particular, a function declared extern "C" still obeys the C++
Bryce> type checking and argument conversion rules and not the weaker
Bryce> C rules."

Doesn't that make it impossible to use g++ with system headers on
legacy systems?  The SunOS headers never use prototypes.

Tom

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]