stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r604073 - /incubator/stdcxx/trunk/etc/config/src/LIMITS.cpp
Date Fri, 14 Dec 2007 00:46:57 GMT
Author: sebor
Date: Thu Dec 13 16:46:56 2007
New Revision: 604073

URL: http://svn.apache.org/viewvc?rev=604073&view=rev
Log:
2007-12-11 Travis Vitek <vitek@roguewave.com>

	STDCXX-673
	* etc/config/src/LIMITS.cpp (main): Always use signed
	types for definition of _RWSTD_INT[8,16,32,64]_T macros.

Modified:
    incubator/stdcxx/trunk/etc/config/src/LIMITS.cpp

Modified: incubator/stdcxx/trunk/etc/config/src/LIMITS.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/LIMITS.cpp?rev=604073&r1=604072&r2=604073&view=diff
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/LIMITS.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/LIMITS.cpp Thu Dec 13 16:46:56 2007
@@ -407,10 +407,9 @@
                     width, width < 10 ? " " : "", type,                 \
                     width, width < 10 ? " " : "", type);                \
         else                                                            \
-            printf ("#define _RWSTD_INT%d_T %s          %s%s\n"         \
+            printf ("#define _RWSTD_INT%d_T %s          signed %s\n"    \
                     "#define _RWSTD_UINT%d_T %s         unsigned %s\n", \
-                    width, width < 10 ? " " : "",                       \
-                    8 == width && '\xff' < 0 ? "signed " : "", type,    \
+                    width, width < 10 ? " " : "", type,                 \
                     width, width < 10 ? " " : "", type);                \
     } while (0)
 



Mime
View raw message