Re: [bug-gnulib] gcc 3.4.4 cast warnings?

2005-07-30 Thread Bruno Haible
Oskar Liljeblad wrote: My first guess is that the module is wrongly being compiled as C++, which does require the cast. He *was* compiling it using g++. User error. C is not a subset of C++. A C++ compiler is not a C compiler. Is there a GNU coding standard statement for 'void *' casts?

Re: [bug-gnulib] Re: [patch] byteswap module fails when building from subdir

2005-07-30 Thread Bruno Haible
Oskar Liljeblad wrote: byteswap.h: byteswap_.h - cp $(srcdir)/$ [EMAIL PROTECTED] + cp $(srcdir)/byteswap_.h [EMAIL PROTECTED] mv [EMAIL PROTECTED] $@ Can you please explain why this is necessary, so that I won't make the same mistake in the future again? See the

Re: [bug-gnulib] some headers prevent later code from using __attribute__

2005-07-30 Thread Ben Pfaff
Bruno Haible [EMAIL PROTECTED] writes: Ben Pfaff wrote: I would suggest using a different identifier, but if not, then it seems like the various versions should be the same, at least. Some make use of __attribute__ conditional on GCC 2.5 or later, others on GCC 2.8 or later. The results are

Re: [bug-gnulib] Re: [patch] byteswap module fails when building from subdir

2005-07-30 Thread Ben Pfaff
Bruno Haible [EMAIL PROTECTED] writes: Oskar Liljeblad wrote: byteswap.h: byteswap_.h - cp $(srcdir)/$ [EMAIL PROTECTED] + cp $(srcdir)/byteswap_.h [EMAIL PROTECTED] mv [EMAIL PROTECTED] $@ Can you please explain why this is necessary, so that I won't make the