[Scummvm-cvs-logs] SF.net SVN: scummvm:[45997] scummvm/trunk/configure

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Fri Nov 20 01:12:46 CET 2009


Revision: 45997
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45997&view=rev
Author:   fingolfin
Date:     2009-11-20 00:12:46 +0000 (Fri, 20 Nov 2009)

Log Message:
-----------
Several configure targets use long instead of int for typedefing uint32/int32. It is not clear why. In order to find out if this is needed I disabled the relevant code for each in configure. If this causes results for any port, we can add this back, along with a precise explanation as to *why* 'long' has to be used.

Modified Paths:
--------------
    scummvm/trunk/configure

Modified: scummvm/trunk/configure
===================================================================
--- scummvm/trunk/configure	2009-11-20 00:12:28 UTC (rev 45996)
+++ scummvm/trunk/configure	2009-11-20 00:12:46 UTC (rev 45997)
@@ -1245,7 +1245,7 @@
 		CXXFLAGS="$CXXFLAGS -fhuge-objects"
 		LIBS="$LIBS -lbind -lsocket"
 		# FIXME: Please document why 'long' has to be used instead of int
-		type_4_byte='long'
+		#type_4_byte='long'
 		;;
 	haiku*)
 		DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE"
@@ -1253,7 +1253,7 @@
 		LIBS="$LIBS -lnetwork"
 		CXXFLAGS="$CXXFLAGS -fhuge-objects"
 		# FIXME: Please document why 'long' has to be used instead of int
-		type_4_byte='long'
+		#type_4_byte='long'
 		;;
 	solaris*)
 		DEFINES="$DEFINES -DUNIX -DSOLARIS -DSYSTEM_NOT_SUPPORTING_D_TYPE"
@@ -1288,7 +1288,7 @@
 		CXXFLAGS="$CXXFLAGS -mcrt=newlib -mstrict-align -mcpu=750 -mtune=7400"
 		LDFLAGS="$LDFLAGS -mcrt=newlib -use-dynld -Lsobjs:"
 		# FIXME: Please document why 'long' has to be used instead of int
-		type_4_byte='long'
+		#type_4_byte='long'
 		;;
 	dreamcast)
 		DEFINES="$DEFINES -D__DC__ -DNONSTANDARD_PORT"
@@ -1440,14 +1440,14 @@
 			_endian=big
 			_need_memalign=yes
 			# FIXME: Please document why 'long' has to be used instead of int
-			type_4_byte='long'
+			#type_4_byte='long'
 			;;
 		m68k-atari-mint)
 			DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE"
 			_endian=big
 			_need_memalign=yes
 			# FIXME: Please document why 'long' has to be used instead of int
-			type_4_byte='long'
+			#type_4_byte='long'
 			_ranlib=m68k-atari-mint-ranlib
 			_ar="m68k-atari-mint-ar cru"
 			;;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list