lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev lynx2.8.3dev.14: compile error


From: Philip Webb
Subject: Re: lynx-dev lynx2.8.3dev.14: compile error
Date: Fri, 5 Nov 1999 02:29:32 -0500 (EST)

991104 Klaus Weide wrote: 
> 991104 Philip Webb reported: 
>> attempting to compile 2-8-3dev.14 on IRIX 5.3 with gcc i encountered: 
>>  
>>   ./LYMain.c:186: `LINKS_AND_FORM_FIELDS_ARE_NUMBERED' undeclared here \ 
>>    (not in a ) [possibly the line is truncated] 
>>   ./LYMain.c: In function `main': 
>>   ./LYMain.c:1333: parse error before `/' 
>>   Error code 1 (bu 21) 
> 
>> ok, so it needs a patch in  userdefs.h ,
>> but having deleted  FORM_  in the definition line
>> i still get the second error referring to line 1333;
>> i did not make clean, not wanting to recompile all the other pieces,
>> but i can't see how that would affect a parse error anyway.
> 
> That line is
>     StrAllocCopy(jumpfile, JUMPFILE);
> 
> so what do you have for JUMPFILE in userdefs.h?
> Something not in "quotes"?
 
yes, the final  */  had escaped deletion.
is that a universal problem in C or only in this compiler (gcc)?
ok ok! i know the problem is my oversight, not C's (smile),
but Joe User out there could be caught very easily:
shouldn't the compiler say: "the quotes have closed: end of definition"?

-- 
========================,,============================================
SUPPORT     ___________//___,  Philip Webb : address@hidden
ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
TRANSIT    `-O----------O---'  University of Toronto

reply via email to

[Prev in Thread] Current Thread [Next in Thread]