[openssl-users] Warnings Compiling openssl 1.0.2d

Jeffrey Walton noloader at gmail.com
Tue Jul 21 20:53:13 UTC 2015


> I'm not real current with C so I'm not in a great position to
> criticize, but can't those warnings (if there is truly no problem) be
> eliminated (at least in gcc) with a pragma?
>
Sadly, no.

GCC pragmas to manage warnings are almost useless. Its been broken for
years. See:

  * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431
  * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66943

I even offered to start a bounty and pay a GCC dev to fix the "pragma
GCC diagnostic" gear (managing warnings are that important to me):

  * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66943#c8

Jeff


More information about the openssl-users mailing list