From: Magnus F. <ma...@ly...> - 2010-02-19 18:14:38
|
On Fri, 2010-02-19 at 12:35 +0000, bva...@us... wrote: > Revision: 18166 > http://net-snmp.svn.sourceforge.net/net-snmp/?rev=18166&view=rev > Author: bvassche > Date: 2010-02-19 12:35:03 +0000 (Fri, 19 Feb 2010) > > Log Message: > ----------- > Backported r17869: changed the return type of strtoull() from 'unsigned > long long' (which is not ANSI C) That is wrong - long long is in iso 9899:1999 that has been around since 1999. That is about as ANSI as you get. > to 'uint64_t' (declared in <net-snmp/net-snmp-config.h>). This change > makes the Net-SNMP source code compile again on Windows systems. That Microsoft, against user outcry, have chosen not to implement it in their compilers (it might be in the 2008 or 2010 compiler) is another issue and that motivates the change. /MF |