From: Vladimir Zhuchko To: djgpp-workers AT delorie DOT com Subject: (fwd) Re: GCC3.02XXX Date: Mon, 19 Nov 2001 10:14:42 +0300 Organization: FLNR Message-ID: X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id fAJ7G7909679 Reply-To: djgpp-workers AT delorie DOT com On Fri, 16 Nov 2001 12:42:39 +0300, Vladimir Zhuchko wrote: 1. I localized the problem with this script under Win2000: #! /bin/sh # # We are not distributing Borland BGI fonts with GRX. # To add them to the library put .CHR files in this # directory (where this script is located) and run it # after building GRX # rm -f *.o gcc -O2 ../src/bgi/bin2c.c -o bin2c.exe for x in *.chr; do # !!! for statement will return under Win2000 UPPERCASE string ("LITT.CHR"...) !!! echo "Processing $x ..."; name=`basename $x | sed -e 's,\.chr,,g'` # as we have UPPERCASE LITT.CHR sed... will not remove .chr # if I 'll change to .CHR inn sed script, then this script will work, but within the library # the names will be LITT_font instead of litt_font echo $name ./bin2c $x _${name}_font $name.c gcc -c -O2 $name.c rm $name.c done 2. I found the problem under gcc302 compiler: The macros #define ITR(Time) itr->##Time is producing the Error message, under gcc2953 this is working well. With best regards Vladimir E. Zhuchko. zhuchko AT sunhe DOT jinr DOT ru With best regards Vladimir E. Zhuchko. zhuchko AT sunhe DOT jinr DOT ru