You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by vi...@apache.org on 2008/02/11 18:51:28 UTC

svn commit: r620552 - /stdcxx/branches/4.2.x/etc/config/src/LIMITS.cpp

Author: vitek
Date: Mon Feb 11 09:51:18 2008
New Revision: 620552

URL: http://svn.apache.org/viewvc?rev=620552&view=rev
Log:

2008-02-11  Travis Vitek  <vi...@roguewave.com>

	Merged rev 604073 from trunk.

	2007-12-11 Travis Vitek <vi...@roguewave.com>

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


Modified:
    stdcxx/branches/4.2.x/etc/config/src/LIMITS.cpp

Modified: stdcxx/branches/4.2.x/etc/config/src/LIMITS.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/etc/config/src/LIMITS.cpp?rev=620552&r1=620551&r2=620552&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/etc/config/src/LIMITS.cpp (original)
+++ stdcxx/branches/4.2.x/etc/config/src/LIMITS.cpp Mon Feb 11 09:51:18 2008
@@ -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)