On Thu, 26 Jan 2006 23:13:27 +0100 Magnus wrote:
MF> '_mfd_ifTable_undo_setup_release': 
../../../net-snmp/agent/mibgroup/if-mib/ifTable/ifTable_interface.c:1489:
MF> error: invalid lvalue in decrement
MF> 
MF> It seems this is the cast-as-lvalue gcc extension, of which the release
MF> notes for gcc 4.0 (http://gcc.gnu.org/gcc-4.0/changes.html) says:
MF> 
MF> * The cast-as-lvalue, conditional-expression-as-lvalue and
MF>   compound-expression-as-lvalue extensions, which were deprecated in 3.3.4
MF>   and 3.4, have been removed.

grrr...

MF> If I apply the attached path it works for me but I am not certain about the
MF> correctness of the patch.

Ugh... ugly ugly... I just checked in a better fix, with no casting required.
Now I just have to figure out what to do in the older releases, where I'm not
supposed to be changing structures.

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to