[Mono-bugs] [Bug 585234] New: Struct MetafileHeader inwin32structs.h has unnamed union
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Mar 3 16:04:38 EST 2010
http://bugzilla.novell.com/show_bug.cgi?id=585234
http://bugzilla.novell.com/show_bug.cgi?id=585234#c0
Summary: Struct MetafileHeader inwin32structs.h has unnamed
union
Classification: Mono
Product: Mono: Class Libraries
Version: 2.6.x
Platform: Sparc
OS/Version: Solaris
Status: NEW
Severity: Normal
Priority: P5 - None
Component: libgdiplus
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: roger.hakansson at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2)
Gecko/20100115 Firefox/3.6
Struct MetafileHeader in win32structs.h has a unnamed union which mean
compilation fails using Sun Studio compiler.
Unnamed unions are not part of C99 even though gcc has implemented it as an
extension.
Reproducible: Always
Actual Results:
/opt/studio/SOS11/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I..
-I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -D__solaris__
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/opt/csw/include/cairo
-I/opt/csw/include/pixman-1 -I/opt/csw/include/freetype2 -I/opt/csw/include
-I/opt/csw/include/libpng12 -I/opt/csw/X11/include -D_REENTRANT -D_PTHREADS
-D__solaris__ -D_POSIX_PTHREAD_SEMANTICS -I/opt/csw/include/pango-1.0
-I/opt/csw/include/cairo -I/opt/csw/include/glib-2.0
-I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/pixman-1
-I/opt/csw/include/freetype2 -I/opt/csw/include -I/opt/csw/include/libpng12
-I/opt/csw/X11/include -I/opt/csw/include -I/opt/csw/include/freetype2
-I/opt/csw/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D__solaris__
-I/opt/csw/X11/include -I/opt/csw/include -I/opt/csw/X11/include
-I/opt/csw/include -pthreads -xO3 -xarch=v8 -c metafile.c -KPIC -DPIC -o
libs/metafile.o
"win32structs.h", line 299: warning: unnamed struct member
"metafile.c", line 987: improper member use: WmfHeader
"metafile.c", line 992: improper member use: EmfHeader
"metafile.c", line 1114: improper member use: WmfHeader
"metafile.c", line 1114: improper member use: WmfHeader
"metafile.c", line 1114: improper member use: WmfHeader
"metafile.c", line 1115: improper member use: WmfHeader
"metafile.c", line 1115: improper member use: WmfHeader
"metafile.c", line 1115: improper member use: WmfHeader
"metafile.c", line 1116: improper member use: WmfHeader
"metafile.c", line 1116: improper member use: WmfHeader
"metafile.c", line 1116: improper member use: WmfHeader
"metafile.c", line 1117: improper member use: WmfHeader
"metafile.c", line 1117: improper member use: WmfHeader
"metafile.c", line 1117: improper member use: WmfHeader
"metafile.c", line 1117: improper member use: WmfHeader
"metafile.c", line 1117: improper member use: WmfHeader
"metafile.c", line 1118: improper member use: WmfHeader
"metafile.c", line 1118: improper member use: WmfHeader
"metafile.c", line 1118: improper member use: WmfHeader
"metafile.c", line 1119: improper member use: WmfHeader
"metafile.c", line 1119: improper member use: WmfHeader
"metafile.c", line 1119: improper member use: WmfHeader
"metafile.c", line 1119: improper member use: WmfHeader
"metafile.c", line 1119: improper member use: WmfHeader
"metafile.c", line 1120: improper member use: WmfHeader
"metafile.c", line 1120: improper member use: WmfHeader
"metafile.c", line 1120: improper member use: WmfHeader
"metafile.c", line 1176: improper member use: WmfHeader
"metafile.c", line 1177: improper member use: WmfHeader
"metafile.c", line 1235: warning: pointer to void or function used in
arithmetic
"metafile.c", line 1244: improper member use: WmfHeader
"metafile.c", line 1252: improper member use: WmfHeader
"metafile.c", line 1255: improper member use: WmfHeader
"metafile.c", line 1255: warning: pointer to void or function used in
arithmetic
"metafile.c", line 1262: improper member use: EmfHeader
"metafile.c", line 1265: improper member use: EmfHeader
"metafile.c", line 1265: warning: pointer to void or function used in
arithmetic
"metafile.c", line 1267: improper member use: EmfHeader
"metafile.c", line 1354: improper member use: WmfHeader
"metafile.c", line 1360: improper member use: EmfHeader
"metafile.c", line 1360: improper member use: EmfHeader
cc: acomp failed for metafile.c
gmake[4]: *** [metafile.lo] Error 1
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list