Hi! 2Bart: Bart, you misinform me. Hexadecimal literals are `unsigned' _only_ if `int' is not enough to present the value. Carefull reread of original (in English) book of Stroustrup confirms this (in Russian edition there is mistype). This issue is noted by Joergen Ibsen, for him this one time generates wrong code. Example:
printf ("%s\n", (0x8000 < 0) ? "signed" : "unsigned"); printf ("%s\n", (0x4000+0x4000 < 0) ? "signed" : "unsigned"); On 32-bit platform you should add four zeros to each literal to get same resutls, as on 16-bit platform. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel