On Sun, Oct 17, 2010 at 1:46 PM, Magnus Fromreide <[email protected]>wrote:

> On Sun, 2010-10-17 at 13:37 +0200, Bart Van Assche wrote:
> > On Sun, Oct 17, 2010 at 1:26 PM, Magnus Fromreide
> > <[email protected]> wrote:
> >         On Sun, 2010-10-17 at 09:36 +0000,
> >         [email protected] wrote:
> >         > Revision: 19477
> >         >
> >         http://net-snmp.svn.sourceforge.net/net-snmp/?rev=19477&view=rev
> >         > Author:   bvassche
> >         > Date:     2010-10-17 09:36:11 +0000 (Sun, 17 Oct 2010)
> >         >
> >         > Log Message:
> >         > -----------
> >         > Fixed a few compiler warnings by inserting appropriate
> >         casts.
> >
> >         ...
> >         >     trunk/net-snmp/snmplib/snmp_openssl.c
> >
> >
> >         You add a couple of casts to const _STACK* here but I can't
> >         find any
> >         declaration of _STACK and neither can my compiler. What should
> >         it be?
> >
> > I'm not sure there is any other portable alternative than changing it
> > into void.
>
> With the attached patch it builds for me, do you see any other problems
> with it?
>

Sorry, but that doesn't build on Linux. AFAIK neither _STACK nor STACK is
portable - only STACK_OF() is. And none of the STACK_OF() types is
compatible with the sk_num() argument type.

Bart.
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to