bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Bruno Haible
Subject: Re: [bug-gnulib] gcc 3.4.4 cast warnings?
Date: Sat, 30 Jul 2005 16:51:51 +0200
User-agent: KMail/1.5

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?

No. It's a matter of style, and the tastes differ.

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]