Re: GCC warnings compiling mib2c output
Bart Van Assche <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Sep 16, 2009 at 2:08 PM, Christopher Nelson <[email protected]> wrote: >> I suppose you could consider tweaking the call to use 'void' rather >> than 'char' pointers. In retrospect, that would have been a better >> choice, and might keep your compiler happy. But note that this >> change would have to be applied throughout the whole codebase. > > I'm running up against a local rule that requires our code to compile > without warnings. I can ask for an exception for the generated code > but maybe I'll do the void -> char change locally; I can't practically > *re*generate the code so I'm not losing any thing. Have you already considered adding -fno-strict-aliasing to the list of gcc compiler flags ? Bart. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ 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