Norberto Alfredo Bensa escribió:
Hello,
I got an 'unterminated character constant' error while compiling GRX 2.4, but I can see the problem (!). I'm using gcc 2.95.3. Any clues? (I recall compiling GRX 2.3.4 with no problem under gcc 2.95.2)
Thanks in advance, Norberto
% make -f makefile.dj2 c:/djgpp/bin/make.exe -C src -f makefile.dj2 make.exe[1]: Entering directory `e:/djgpp/contrib/grx24/src' gcc -c -O6 -Wall -fomit-frame-pointer -I. -I./include -I../include -I../addo ns/print -I../addons/bmp pnm/ctx2pnm.c -o pnm/ctx2pnm.o pnm/ctx2pnm.c:180: unterminated character constant make.exe[1]: *** [pnm/ctx2pnm.o] Error 1 make.exe[1]: Leaving directory `e:/djgpp/contrib/grx24/src' make.exe: *** [libs] Error 2
This is the offending line:
if( c == '#' ) // it's a comment
I don't know if it must be '#' or it is a gcc 2.95.3 bug, Andris?