Eggdev: [Bug 450] some warning during compile

bugzilla-daemon at tsss.org bugzilla-daemon at tsss.org
Thu Nov 20 13:49:03 CST 2008


http://www.eggheads.org/bugzilla/show_bug.cgi?id=450


Rumen Stoyanov <pseudo at egg6.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|psth at gmx.de                 |




--- Comment #2 from Rumen Stoyanov <pseudo at egg6.net>  2008-11-20 13:49:02 ---
The number of warnings, which can show up on a recent platform is even higher.
A significant percent of them are the 'dereferencing type-punned pointer' ones,
caused by the strict-aliasing optimization (enabled with -O2 or higher, by
default). While these are not a serious concern by themselves, they reveal
problems which ought to be solved rather than hidden. Examples are generic list
handling with list_delete() and friends, and some time_t values, treated as
built-in tcl integer variables.

The rest with few exceptions are more or less a matter of proper (and safe)
casts. A patch dealing with them is attached. Tested on Linux with GCC 4.2.4
and OpenBSD 4.4.


-- 
Configure bugmail: http://www.eggheads.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Eggdev mailing list