This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Roland McGrath, le Sun 05 Aug 2007 12:28:25 -0700, a écrit : > > GNU/Hurd headers don't pass c++, for instance: > > They're C. If you use them in C++, use extern "C". That doesn't fix the problem (I'm already using extern "C" actually), strict C++ rules still apply: extern "C" { int *foo(void *bar) { return bar; } } doesn't compile, for instance. Samuel
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |