[Mapserver-dev] Errors due to a getline function defined in cgiutil
Sean Gillies
sgillies at frii.com
Mon Feb 2 15:37:01 EST 2004
Sorry, forgot to add that this only occurs (that we see) when
building the Python MapScript.
Sean
On Feb 2, 2004, at 1:09 PM, Sean Gillies wrote:
> 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
>
> _______________________________________________
> Mapserver-dev mailing list
> Mapserver-dev at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-dev
>
More information about the mapserver-dev
mailing list