[ scummvm-Patches-794066 ] Make ScummVM compile with GCC 3.3.1

SourceForge.net noreply at sourceforge.net
Sun Aug 24 13:31:47 CEST 2003


Patches item #794066, was opened at 2003-08-24 11:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=794066&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: John Eckerdal (johneck)
Assigned to: Nobody/Anonymous (nobody)
Summary: Make ScummVM compile with GCC 3.3.1

Initial Comment:
The latest CVS versions of ScummVM refuses to compile, it dies in all asserts()
where pointers are used.
Example:
 byte* tmp = some_function_method_or_other();
 assert(tmp);

Will fail with "*byte is not of long int" (or similar). The way to fix this is to:
 byte* tmp = some_function_method_or_other();
 assert(tmp != NULL);

And atleast it compiles with GCC 3.3.1 now. The patch fixes all these, atleast when 
trying to compile for the SDL backend.


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

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




More information about the Scummvm-tracker mailing list