X-Originating-IP: [200.42.4.187] From: "Norberto Alfredo Bensa" To: "Mariano Alvarez Fernandez" , "GRX" Cc: References: <3AD3476A DOT FE91C52E AT teleline DOT es> Subject: Re: problem compiling GRX 2.4 Date: Tue, 10 Apr 2001 15:13:09 -0300 Organization: nBens@ Computers X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: X-OriginalArrivalTime: 10 Apr 2001 18:13:21.0861 (UTC) FILETIME=[ED449750:01C0C1E9] Reply-To: djgpp AT delorie DOT com ----- Original Message ----- From: "Mariano Alvarez Fernandez" To: "Norberto Alfredo Bensa" ; "GRX" 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