On Sun, 2010-05-09 at 15:43 +0200, Bart Van Assche wrote: > This patch makes maintaining the Windows (MSVC) port harder because > due to this patch different mechanisms are used in the non-MSVC build > and in the MSVC-build for generating the header file > snmplib/transports/snmp_transport_inits.h. Would it be OK to revert > this patch and to add a file snmplib/transports/snmp_transport_inits.h > with contents similar to the following: > > #ifdef NETSNMP_TRANSPORT_UDP_DOMAIN > netsnmp_udp_ctor(); > #endif > #ifdef NETSNMP_TRANSPORT_TCP_DOMAIN > netsnmp_tcp_ctor(); > #endif > #ifdef NETSNMP_TRANSPORT_ALIAS_DOMAIN > netsnmp_alias_ctor(); > #endif > #ifdef NETSNMP_TRANSPORT_UDPIPV6_DOMAIN > netsnmp_udpipv6_ctor(); > #endif > #ifdef NETSNMP_TRANSPORT_TCPIPV6_DOMAIN > netsnmp_tcpipv6_ctor(); > #endif > [ ... ]
Ok with me but why not just revert the patch? The old version had the whole #ifdef pile in snmp_transport.c and the new snmp_transport_inits.h doesn't seem to add that much. The only thing is that any order dependencies must be handled. /MF ------------------------------------------------------------------------------ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
