On Fri, 19 Feb 2010 19:14:27 +0100 Magnus wrote:
MF> On Fri, 2010-02-19 at 12:35 +0000, [email protected] wrote:
MF> > Revision: 18166
MF> >           http://net-snmp.svn.sourceforge.net/net-snmp/?rev=18166&view=rev
MF> > -----------
MF> > Backported r17869: changed the return type of strtoull() from 'unsigned
MF> > long long' (which is not ANSI C)
MF> 
MF> That is wrong - long long is in iso 9899:1999 that has been around since
MF> 1999. That is about as ANSI as you get.
MF> 
MF> >  to 'uint64_t' (declared in <net-snmp/net-snmp-config.h>). This change
MF> > makes the Net-SNMP source code compile again on Windows systems.

I vote for types that specify the data size (uint64_t) over something that
depends on the compiler/OS/hardware (unsigned long long). This is why we
define those types in our headers, should they be missing in standard/OS
headers.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to