Hello list.

Just subscribed; my first message on the Net-SNMP list in
several years.

It's been > 3 years since I've compiled using MinGW.
Now I'm sticking more to clang-cl and MSVC and notice
the support for MSVC wrt. to IPv6 is in a real (excuse my
French) shitty state. E.g. the '{ }' syntax is not allowed
on MSVC:
  #if defined(HAVE_WINSOCK_H) && !defined(mingw32)
  static const struct in6_addr in6addr_any = { } /*IN6ADDR_ANY_INIT*/;
  #endif

But shouldn't it instead be:
  #if defined(HAVE_WINSOCK_H) && !defined(HAVE_WINSOCK2_H) && !defined(mingw32)
  static const struct in6_addr in6addr_any = { } /*IN6ADDR_ANY_INIT*/;
  #endif

since 'in6addr_any' etc. is already part of Winsock2?

And BTW, what's up with the cryptic 'mingw32' in there?

The same goes for snmpIPv6BaseDomain.c.


--
--gv

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to