Re: GCC warnings compiling mib2c output

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Mon, 14 Sep 2009 15:44:58 -0400, Christopher Nelson <[email protected]> said:

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

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

Later versions haven't changed the code output (at least for that style
(iterator_access) of coding).  You didn't say what line it was
complaining about, though.  I'm guessing the memdup line?
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.