[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] Building with -ansi
From: |
Pedro Lopez-Cabanillas |
Subject: |
Re: [fluid-dev] Building with -ansi |
Date: |
Sun, 20 Mar 2011 23:29:01 +0100 |
User-agent: |
KMail/1.13.5 (Linux/2.6.34.7-0.7-desktop; KDE/4.4.4; i686; ; ) |
On Sunday 20 March 2011, Matt Giuca wrote:
> The other bug was an implicit void* to char* cast. I searched the GCC man
> page for any flag that would warn about that but I can't find any specific
> one. I did find -Wc++-compat, which is documented as: "Warn about ISO C
> constructs that are outside of the common subset of ISO C and ISO C++, e.g.
> request for implicit conversion from "void *" to a pointer to non-"void"
> type." That would detect it, but it might also warn about a whole lot of
> other things which are irrelevant. Is there a better flag for warning about
> this?
No. But the absence of this cast generates only a harmless warning in VS2010.
Funny nitpicking :-D
Regards,
Pedro