[Top][All Lists]

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

[ft-devel] g++ 4.5.0 and type punning issues (again, sigh)

From: Werner LEMBERG
Subject: [ft-devel] g++ 4.5.0 and type punning issues (again, sigh)
Date: Sun, 11 Jul 2010 09:40:26 +0200 (CEST)


it seems that g++ 4.5.0 is ridiculously picky w.r.t. type-punning:
While previous g++ versions have been made silent successfully, the
latest version reports zillions of warnings.

The code hasn't changed basically; all warnings stem from macros like
`FT_NEW' or `FT_NEW_ARRAY', and IMHO there are definitely *no*
type-punning issues since it is always related to type-converting
malloc's `void *' return value, and this should be harmless AFAIK.

Anybody on the list who has more insight, probably be able to suggest
a fix which we could apply to the git repository?

To see the warnings, say

  ./configure CC=g++

within a clean copy of the git repository.


reply via email to

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