[ scummvm-Bugs-1235591 ] SAGA: compile warnings
SourceForge.net
noreply at sourceforge.net
Sun Jul 10 15:44:38 CEST 2005
Bugs item #1235591, was opened at 2005-07-10 15:44
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1235591&group_id=37116
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Unknown Crash/Other
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: SAGA: compile warnings
Initial Comment:
With the latest CVS snapshot, I get the following
warnings - repeated several times - while compiling the
SAGA engine with GCC 3.4.2:
./saga/gfx.h:39: warning: ignoring packed attribute on
unpacked non-POD field `Common::Rect
Saga::ClipData::sourceRect'
./saga/gfx.h:40: warning: ignoring packed attribute on
unpacked non-POD field `Common::Rect
Saga::ClipData::destRect'
./saga/gfx.h:41: warning: ignoring packed attribute on
unpacked non-POD field `Common::Point
Saga::ClipData::destPoint'
./saga/gfx.h:44: warning: ignoring packed attribute on
unpacked non-POD field `Common::Point
Saga::ClipData::drawSource'
./saga/gfx.h:45: warning: ignoring packed attribute on
unpacked non-POD field `Common::Point
Saga::ClipData::drawDest'
The ClipData struct is packed, but the way I read these
warning messages we still cannot make any assumptions
about the size and exact layout of it. This could be
bad, but on the other side I'm not sure I can see
anywhere where the clip data needs to be packed...
I haven't checked if the other two structs that are now
packed, PalEntry and Color. They don't contain any
unpacked members. We still can't make any assuptions
about Color, though, since it uses the "int" data type.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1235591&group_id=37116
More information about the Scummvm-tracker
mailing list