We're using Net-SNMP 5.2.2.  Some time ago, we generated MIB code with
mib2c.  Recently, we upgraded compilers and we're seeing a lot of
warnings about "dereferencing type-punned pointer will break
strict-aliasing rules" in code like:

                    if (retval) {
                        ui = SNMP_MALLOC_STRUCT(undoInfo);
                        ui->len = retval_len;
                        memdup((u_char **) & ui->ptr,
                               (u_char *) retval, ui->len);
                    }

which I believe is mib2c output, not something we added to the
skeleton.  Has this warning been addressed in later versions?


                                     Chris
-- 
A: Top-posting.
Q: What is the most annoying thing in e-mail?

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to