Wireshark-bugs: [Wireshark-bugs] [Bug 6489] -Werror doesn't work with libgcrypt 1.5.0

Date: Thu, 21 Feb 2013 18:50:03 +0000

Comment # 10 on bug 6489 from
(In reply to comment #9)
> In
> 
> http://www.wireshark.org/lists/wireshark-dev/201302/msg00163.html
> 
> I proposed to have a wrapper include file that is included instead of
> including gcrypt.h directly. In this wrapper file, we can put the pragmas
> (either using push/pop or the ones proposed in the submitted patch).
> 
> I'll look into these things as soon as I find some time.
> 
> Regards,
> 
>    Martin

I learned that

pragma GCC diagnostic error/warning was introduced in gcc 4.2.0
pragma GCC diagnostic push/pop was introduced in gcc 4.6.0 */

and added a wrapper file wsutil/wsgcrypt.h in r47801, r47802 and r47803.
This should give us a clean build at least on gcc>=4.2.0

Please let me know if this causes any problems for you.

Best regards,

   Martin


You are receiving this mail because:
  • You are watching all bug changes.