Re: lynx-dev Can you help me please (fwd)

From:

Foteos Macrides

Subject:

Re: lynx-dev Can you help me please (fwd)

Date:

Sun, 10 May 1998 15:49:29 -0400

"T.E.Dickey" <address@hidden>
>> "T.E.Dickey" <address@hidden> wrote:
>> >> extern int bzero();
>> >> .................^
>> >> %CC-W-TOOFEWACTUALS, Too few actual parameters in macro call.
>> >> at line number 292 in file
>> >> DKA200:[LYNX.LYNX2-8.WWW.LIBRARY.IMPLEMENTATION]TCP.H;1
>> >
>> >it appears that somewhere there's a definition such as
>> > #define bzero(p,n) memset(p,0,n)
>> >which is conflicting. The fix is to remove this 'extern int bzero();',
>> >which I'd noticed before -- it's not used in the code anyway, and is an
>> >artifact of a previous implmentation. (I'll do that in my development
>> >version).
>>
>> This is an FAQ which has been explained numerous times on the list.
>been there, done that: "bzero" is not referenced in the Lynx source,
Neither are the other functions or macros in that list, and in
another further down in tcp.h. As has been stressed, they appear in the
MultiNet headers or library functions to which Lynx is linked, with missing
or variable prototyping that cause problems with the compilers' own headers
across versions -- one of the kinds of thing autoconf deals with for the
Unix folks.
>except for this - I happened to notice it a while ago, and verified this.
>(not an FAQ - please read it yourself ;-)
The issue indeed is an FAQ, and as has been stressed, though you
may not have noticed, which functions or macros will appear in the compiler
warning or error messages depends on the combination of compiler and MultiNet
versions.
As far as Al's VFAQ is concerned, he handles that. The fact that it
is simply a set of links to lynx-dev messages which can become obsolete or
are incomplete has been discussed before, and those problems persist. A
real FAQ for Lynx was started some time ago, based on those discussions about
the VFAQ, but it didn't get far and has since been abandoned. So Al's VFAQ,
whatever its shortcomings, is what there is (with links to it, and the
abandoned real FAQ, still in the Lynx online 'h'elp).
Fote
--
Foteos Macrides