Hi all,
While looking into porting gdb/gdbserver, I noticed that our char was
unsigned by default,
while MSVC defaults to signed. I committed the attached patch to make us
compatible
with MSVC. This may introduce subtil bugs if you relied on the default
signedness of char,
but I think it is worth it to be as compatible as possible with the
native tools.
Cheers,
Pedro Alves
gcc/gcc/ChangeLog.ce:
2006-11-08 Pedro Alves <[EMAIL PROTECTED]>
* config/arm/wince-pe.h (DEFAULT_SIGNED_CHAR): Define to 1.
Index: gcc/config/arm/wince-pe.h
===================================================================
--- gcc/config/arm/wince-pe.h (revision 779)
+++ gcc/config/arm/wince-pe.h (working copy)
@@ -125,6 +125,9 @@
/* Define types for compatibility with MS runtime. */
+#undef DEFAULT_SIGNED_CHAR
+#define DEFAULT_SIGNED_CHAR 1
+
#undef SIZE_TYPE
#define SIZE_TYPE "unsigned int"
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cegcc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel