-Coders,

with some platforms/compilers CVS MAIN fails to compile
snmplib/read_config.c:

AIX4 w/ xlc:
"/home/anders/src/net-snmp-5.4cvs/snmplib/read_config.c", line 1982.23:
1506-068 (S) Operation between types "unsigned int" and "unsigned int*"
is not allowed.

IRIX6.5 w/ c99:
cc-1515 c99: ERROR File =
/home/anders/src/net-snmp-5.4cvs/snmplib/read_config.c, Line = 1982
  A value of type "unsigned int *" cannot be assigned to an entity of type
          "in_addr_t".

              in.s_addr = (unsigned int *) dataptr;


The affected lines in
snmplib/read_config.c:read_config_store_data_prefix() seem to have been
introduced (in MAIN only) in January:

----------------------------
revision 5.42
date: 2006/01/30 09:35:35;  author: dts12;  state: Exp;  lines: +26 -0
Support for reading/storing IP address values.  Expanded from patch #107700
----------------------------

Can anyone propose a fix?


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to