On 02/09/2011, at 10:10 AM, Dmitry Chestnykh wrote:

> OpenSSL has been deprecated in OS X Lion (boo!), and Apple put warnings 
> everywhere.
> It's kind of annoying to see this when building Fossil:
> 
> ./bld/http_ssl_.c: In function ‘ssl_global_init’:
> ./bld/http_ssl_.c:104: warning: ‘SSL_library_init’ is deprecated (declared at 
> /usr/include/openssl/ssl.h:1553)
> ...
> 
> To silence these warnings I build with:
> 
> CFLAGS=-Wdeprecated-declarations make
> 
> I'm not familiar with the build system, could someone include this flag for 
> darwin in autosetup?
> 
> Thanks!

Well, you could just do this (see attached patch).
But should it be restricted to when compiling http_ssl? To Mac OS X? To 10.7?

Cheers,
Steve

--
µWeb: Embedded Web Framework - http://uweb.workware.net.au/
WorkWare Systems Pty Ltd
W: www.workware.net.au      P: +61 434 921 300
E: [email protected]   F: +61 7 3391 6002




Attachment: fossil-deprecated-decl.patch
Description: Binary data

_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to