[ scummvm-Bugs-1648325 ] parallaction code is not 64-bit safe

SourceForge.net noreply at sourceforge.net
Wed Jan 31 01:12:48 CET 2007


Bugs item #1648325, was opened at 2007-01-31 01:12
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=1648325&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: None
Group: Unknown
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Thomas Klausner (thomasklausner)
Assigned to: Nobody/Anonymous (nobody)
Summary: parallaction code is not 64-bit safe

Initial Comment:
When compiling the SVN version from 20070129 with ----enable-parallaction on NetBSD-4.99.9/amd64, there are a number of warnings and (at least one) fatal error:
engines/parallaction/commands.cpp: In function 'Parallaction::Command* Parallaction::parseCommands(Parallaction::ArchivedFile*)':
engines/parallaction/commands.cpp:71: warning: cast from type 'char**' to type 'const char**' casts away constness
engines/parallaction/commands.cpp:73: warning: cast from type 'char**' to type 'const char**' casts away constness
engines/parallaction/commands.cpp:81: warning: cast from type 'char**' to type 'const char**' casts away constness
engines/parallaction/commands.cpp:122: warning: cast from type 'char**' to type 'const char**' casts away constness
engines/parallaction/commands.cpp:149: warning: cast from type 'char**' to type 'const char**' casts away constness
engines/parallaction/commands.cpp:152: warning: cast from type 'char**' to type 'const char**' casts away constness
engines/parallaction/commands.cpp:174: warning: cast from type 'char**' to type 'const char**' casts away constness
engines/parallaction/commands.cpp:177: warning: cast from type 'char**' to type 'const char**' casts away constness
...
./engines/parallaction/graphics.h:28: warning: #pragma pack(push[, id], <n>) is not supported on this target
./engines/parallaction/graphics.h:52: warning: #pragma pack(pop[, id], <n>) is not supported on this target
engines/parallaction/dialogue.cpp: In function 'Parallaction::Dialogue* Parallaction::parseDialogue(Parallaction::ArchivedFile*)':
engines/parallaction/dialogue.cpp:96: warning: cast from type 'char**' to type 'const char**' casts away constness
engines/parallaction/dialogue.cpp:103: warning: cast from type 'char**' to type 'const char**' casts away constness
engines/parallaction/dialogue.cpp:152: warning: cast from type 'char**' to type 'const char**' casts away constness
engines/parallaction/dialogue.cpp: In function 'void Parallaction::runDialogue(Parallaction::SpeakData*)':
engines/parallaction/dialogue.cpp:396: error: cast from 'byte*' to 'uint32' loses precision


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1648325&group_id=37116




More information about the Scummvm-tracker mailing list