fix for svn 777 compile error(s)

Noris Datum norisdata at gmail.com
Fri May 6 01:47:45 PDT 2011


>> Hi all,
>>
>>
>> If you encounter compile time errors complaining sprintf being not  
>> declared
>> such as;
>>
>>
>> ../../config/config_type_int.cc:19:43: error: 'snprintf' was not  
>> declared in
>> this scope
>
> Good catch!  Can I ask what OS you saw this on?  I was certainly
> missing stdio.h includes from two places in config/ where snprintf(3)
> was used, and I'm surprised I didn't notice it in any test builds, and
> would love to know what other systems I should be building on!  I've
> checked in fixes to config_type_int.cc and config_type_pointer.cc.
> Thanks for letting me know!
>

The distro is Fedora 14 64bit running on kernel;

Linux 2.6.35.12-90.fc14.x86_64

and gcc intalled from repos;

gcc-c++-4.5.1-4.fc14.x86_64 gcc-4.5.1-4.fc14.x86_64
libgcc-4.5.1-4.fc14.x86_64 libgcc-4.5.1-4.fc14.i686

The situation might well be related about rpm based distro's though I
can't confirm that at the moment.

I can setup a cron job for nightly building on recent CentOS 32/64 and
Fedora 32/64 distros and let you know if things go wrong, would that help?

>> cheers (and thank you Juli for your great work)
>
> Thanks, and thanks again for reporting the problem!

--
noris



More information about the wanproxy mailing list