On Fri, Feb 19, 2010 at 7:14 PM, Magnus Fromreide <[email protected]>wrote:

> On Fri, 2010-02-19 at 12:35 +0000, [email protected] 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.
>

I was referring to C89, not to C99. "long long" has been introduced in C99.


> >  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.
>

MSVC 6.0 does not recognize "long long", while more recent Microsoft
compilers recognize this datatype. It would make several Net-SNMP
maintainers happy if support for MSVC 6 could be dropped.

Bart.
------------------------------------------------------------------------------
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