[Mapserver-dev] Errors due to a getline function defined in cgiutil
Sean Gillies
sgillies at frii.com
Mon Feb 2 15:09:06 EST 2004
Hi,
Howard Butler sent this to me
> .../../cgiutil.h:37: conflicting types for `getline'
> /usr/include/bits/stdio.h:103: previous declaration of `getline'
>
> Looks like someone chose a bad name for a function or they really
> meant to do this. Either way, if I change the function name in
> cgiutil to getline2 or something, everything compiles and links ok.
>
> A quick history showed that the file changed as recently as last
> friday. I don't know what was changed though.
>
I saw this as well (on Linux RH9) and commented out line 37 in
cgiutil.h with no bad consequences. I'd enter this as a bug in Bugzilla
except that it prevents compilation and needs more immediate attention.
cheers,
Sean
--
Sean Gillies
sgillies at frii dot com
http://users.frii.com/sgillies
More information about the mapserver-dev
mailing list