Mail Archives: djgpp/2001/04/10/14:13:47
----- Original Message -----
From: "Mariano Alvarez Fernandez" <malfer AT teleline DOT es>
To: "Norberto Alfredo Bensa" <ceo AT nbensacomputers DOT com>; "GRX" <grx AT gnu DOT de>
Sent: Tuesday, April 10, 2001 2:48 PM
Subject: Re: problem compiling GRX 2.4
> 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?
>
Yes, I knew about that line. That's why I posted, it seems correct to me.
BTW, I changed it to:
if( c == 35 )
and got the same error.
Best regards,
Norberto
- Raw text -