[openssl-dev] [openssl.org #4471] 1.1.0-pre4 safestack.h compilation errors with -Wcast-qual

2016-05-24 Thread Stephen Henson via RT
On Mon May 16 18:32:13 2016, bwell...@xbill.org wrote: > This is fixed, but there are similar problems that still exist, for > example: > > — > #include > #include > I've addresses some, but not all the warnings now. Some of them would require signiicant changes to the way STACK works. We'll rev

Re: [openssl-dev] [openssl.org #4471] 1.1.0-pre4 safestack.h compilation errors with -Wcast-qual

2016-05-16 Thread Brian Wellington via RT
This is fixed, but there are similar problems that still exist, for example: — #include #include int main(int argc, char **argv) { return 0; } — clang -Wcast-qual -o foo.o foo.c -I openssl-SNAP-20160516/include/ In file included from foo.c:1: In file included from openssl-SNAP-20160516/inc

[openssl-dev] [openssl.org #4471] 1.1.0-pre4 safestack.h compilation errors with -Wcast-qual

2016-05-13 Thread Stephen Henson via RT
Fixed in commit afdd82fb567db Thanks for the report. Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org -- Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4471 Please log in as guest with password guest if

Re: [openssl-dev] [openssl.org #4471] 1.1.0-pre4 safestack.h compilation errors with -Wcast-qual

2016-03-22 Thread Blumenthal, Uri - 0553 - MITLL
I don’t seem to be able to replicate with either 1.0.2h-dev, or 1.1.0-pre using clang-3.7 and gcc-5.3 (on Mac OS X 10.10.5). Here’s 1.1.0-pre output: $ cat t9.c #include int main(int argc, char **argv) { return 0; } $ gcc -Wcast-qual -I/Users/ur20980/include -o t9 t9.c -L/Users/ur20980/lib -

[openssl-dev] [openssl.org #4471] 1.1.0-pre4 safestack.h compilation errors with -Wcast-qual

2016-03-22 Thread Brian Wellington via RT
Attempting to compile this program: #include int main(int argc, char **argv) { return 0; } with -Wcast-qual (with both gcc and clang) results in errors like this (repeated a number of times). target/include/openssl/safestack.h:214:1: warning: cast from 'const struct stack_st_OPENSSL