[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSGraphics.h:146: warning
From: |
Stefan Urbanek |
Subject: |
NSGraphics.h:146: warning |
Date: |
Wed, 21 May 2003 17:29:38 +0200 |
Hi,
I am getting this warning:
In file included from /usr/GNUstep/System/Library/Headers/AppKit/NSWindow.h:38,
from /usr/GNUstep/System/Library/Headers/AppKit/NSPanel.h:32,
from Defaults.m:43:
/usr/GNUstep/System/Library/Headers/AppKit/NSGraphics.h: In function
`NSReadPixel':
/usr/GNUstep/System/Library/Headers/AppKit/NSGraphics.h:146: warning:
dereferencing type-punned pointer will break strict-aliasing rules
Some projects with enabled -Werr will not compile with warnings (and some of
them have many subprojects where this flag is set), and this warning comes from
-gui.
I am using latest released version of gcc 3.3
How this should be fixed?
Stefan
- NSGraphics.h:146: warning,
Stefan Urbanek <=