After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 141010 - When compiling queryloaders.c gcc generates warning that dereferencing type-punned pointer breaks strict-aliasing rules
When compiling queryloaders.c gcc generates warning that dereferencing type-p...
Status: RESOLVED WONTFIX
Product: gdk-pixbuf
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2004-04-24 15:30 UTC by Chris Sherlock
Modified: 2010-07-10 04:04 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
Fix strict aliasing warning (1.24 KB, patch)
2004-04-24 15:32 UTC, Chris Sherlock
none Details | Review

Description Chris Sherlock 2004-04-24 15:30:20 UTC
Issue resides in query_module function, where it uses g_module_query. Fix below.

Also note: this issue is in gtk+-2.2 *and* in gtk+-2.4.
Comment 1 Chris Sherlock 2004-04-24 15:32:06 UTC
Created attachment 27039 [details] [review]
Fix strict aliasing warning
Comment 2 Matthias Clasen 2004-08-26 05:39:28 UTC
Introducing redundant variables all over the place is not the right answer to a
dumb compiler...