[Nottingham] Simple coding question ....

Barry Drake ubuntu-advertising at gmx.com
Sat Aug 16 12:36:59 UTC 2014


On 16/08/14 12:10, Paul Sladen wrote:
> You've got a clash in naming between a DIY function called 'getline()' 
> and the standard function called 'getline()'. One of them needs to be 
> renamed; eg, calling it "fdp_getline()". alternatively, you may be 
> able to get away with a: #define getline fdp_getline if you can manage 
> to scope it correctly.

Thanks - I must be even rustier with coding than I thought.  I should 
have spotted that getline is now a library functhon. Renaming the local 
function worked perfectly.  Sorry to have asked such a trivial question.

Regards,        Barry.



More information about the Nottingham mailing list