[ovs-dev] [PATCH] lib: Fix warnings
Ben Pfaff
blp at nicira.com
Thu Oct 14 14:48:22 PDT 2010
On Thu, Oct 14, 2010 at 02:40:11PM -0700, Ben Pfaff wrote:
> On Thu, Oct 14, 2010 at 02:31:31PM -0700, Ethan Jackson wrote:
> > Fixed a couple of warnings which showed up when compiling with
> > gcc-4.5.1
>
> Would you mind quoting the warnings that were fixed? It really isn't
> obvious to me (I mostly use GCC 4.4 at the moment).
Actually with this commit applied I get new warnings:
../lib/stream-ssl.c: In function ‘do_ssl_init’:
../lib/stream-ssl.c:997: warning: passing argument 1 of ‘SSL_CTX_new’ discards qualifiers from pointer target type
/usr/include/openssl/ssl.h:1344: note: expected ‘struct SSL_METHOD *’ but argument is of type ‘const struct SSL_METHOD *’
More information about the dev
mailing list