Re: sys-socket.in.h/alignof.h usage problem with C++

2010-08-23 Thread Gary V. Vaughan
Hi Eric, Thanks for the feedback. On 23 Aug 2010, at 21:47, Eric Blake wrote: > On 08/22/2010 08:54 AM, Gary V. Vaughan wrote: >> While trying to compile a C++ package, and using the gnulib socket modules >> to paper over the differences between various vendor implementations, I >> tripped over

Re: sys-socket.in.h/alignof.h usage problem with C++

2010-08-23 Thread Eric Blake
On 08/22/2010 08:54 AM, Gary V. Vaughan wrote: While trying to compile a C++ package, and using the gnulib socket modules to paper over the differences between various vendor implementations, I tripped over the following error on Solaris 2.6 and 7: "lib/alignof.h", line 28: Error: Template dec

sys-socket.in.h/alignof.h usage problem with C++

2010-08-22 Thread Gary V. Vaughan
While trying to compile a C++ package, and using the gnulib socket modules to paper over the differences between various vendor implementations, I tripped over the following error on Solaris 2.6 and 7: "lib/alignof.h", line 28: Error: Template declarations cannot have extern "C" linkage. 1 Erro