Feel free to report this as a bug. This warning and the promotion are not necessary for equality comparison (but it is for < and >).
> Another SDCC 3.0.0 quesstion, I got a lot of "warning 185: comparison of > 'signed char' with "unsigned char' requires promotion to int". > Typical code looks like " while (*pStr == '\t' || *pStr == ' ')", where pStr > is defined as "unsigned char *". The warning was not there with 2.9.0. > > Woody > > http://palmmicro.com/woody/ > > ----- Original Message ----- > From: "Lin Rongrong" <wo...@palmmicro.com> > To: <sdcc-user@lists.sourceforge.net> > Cc: <supp...@palmmicro.com> > Sent: Friday, November 05, 2010 1:49 PM > Subject: z80 inline asm changes? > > > >I am testing SDCC 3.0.0 with my Z80 software. Originally I have some inline > >asm like: > > "_asm di _endasm", compiled well with 2.9.0. > > I changed it to "__asm di __endasm" following compiler warnings. But still > > get error like "z80instructionSize() failed to parse line node di". > > > > Woody > > > > http://palmmicro.com/woody/ > > > > ----- Original Message ----- > > From: "Borut Razem" <borut.ra...@siol.net> > > To: "Sdcc-Devel" <sdcc-de...@lists.sourceforge.net>; "Sdcc-User" > > <sdcc-user@lists.sourceforge.net> > > Sent: Monday, November 01, 2010 4:26 PM > > Subject: [Sdcc-user] Small Device C Compiler 3.0.0 released > > > > > >>A new release of SDCC, the portable optimizing compiler for 8051, DS390, > >> Z80, HC08, and PIC microprocessors is now available > >> (http://sdcc.sourceforge.net). > >> Sources, documentation and binaries compiled for x86 Linux, x86 MS > >> Windows and PPC Mac OS X are available. > >> > >> SDCC 3.0.0 Feature List > >> > >> * sdcpp synchronized with GNU cpp 4.5.0 > >> * changed z80 and gb targets object file extension to .rel > >> * special sdcc keywords which are not preceded by a double underscore > >> are deprecated in sdcc version 3.0.0 and higher. See section > >> ANSI-Compliance in sdccman > >> * xa51 and avr targets are disabled by default in sdcc version 3.0.0 and > >> higher > >> * introduced new memory model huge for mcs51 to use bankswitching for > >> all functions > >> * removed generation of GameBoy binary image file format, rrgb map file > >> format and no$gmb sym file format from sdld linker. Utility makebin > >> generates GameBoy binary image file format, utility as2gbmap utility > >> converts sdas map file to rrgb map and no$gmb sym file formas. > >> * implemented __builtin_offsetof > >> * asxxxx / aslink renamed to sdas / sdld and synchronized with ASXXXX > >> V2.0 > >> * majority of sdcc run time library released under GPL+LE license (see > >> http://sourceforge.net/apps/trac/sdcc/wiki/Files%20and%20Licenses) > >> * introduced --use-non-free command line option > >> * non free (non GPL compatible) header and library files moved to > >> non-free directory > >> * deprecated --no-pack-iram command line option > >> > >> Numerous feature requests and bug fixes are included as well. > >> > >> You can download the release from: > >> https://sourceforge.net/projects/sdcc/files/ > >> > >> Borut > >> > >> ------------------------------------------------------------------------------ > >> Nokia and AT&T present the 2010 Calling All Innovators-North America > >> contest > >> Create new apps & games for the Nokia N8 for consumers in U.S. and > >> Canada > >> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in > >> marketing > >> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > >> http://p.sf.net/sfu/nokia-dev2dev > >> _______________________________________________ > >> Sdcc-user mailing list > >> Sdcc-user@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/sdcc-user > > > > > ------------------------------------------------------------------------------ > The Next 800 Companies to Lead America's Growth: New Video Whitepaper > David G. Thomson, author of the best-selling book "Blueprint to a > Billion" shares his insights and actions to help propel your > business during the next growth cycle. Listen Now! > http://p.sf.net/sfu/SAP-dev2dev > _______________________________________________ > Sdcc-user mailing list > Sdcc-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sdcc-user > ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user