Wireshark-bugs: [Wireshark-bugs] [Bug 6489] -Werror doesn't work with libgcrypt 1.5.0
Date: Wed, 26 Oct 2011 04:49:07 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6489

--- Comment #3 from Edwin Groothuis <wireshark@xxxxxxxxxxx> 2011-10-26 04:49:06 PDT ---
(In reply to comment #2)
> This was discussed on wireshark-dev: http://seclists.org/wireshark/2011/Jul/192
> Then forwarded to gcrypt-devel:
> http://lists.gnupg.org/pipermail/gcrypt-devel/2011-July/001828.html
> Which resulted in "That is a bug in some versions of gcc."
>
> I don't like code sprinkled with #pragma's, certainly not for "a bug in some
> versions of gcc."

Are you aware of a version of GCC in which this issue is resolved?
I have a nice collection of them which I can try out:

[/usr/ports/lang] edwin@t43>grep ^PORTVERSION gcc*/Makefile 
gcc/Makefile:PORTVERSION=    4.6.1
gcc34/Makefile:PORTVERSION=    3.4.6
gcc42/Makefile:PORTVERSION=    4.2.5.20090325
gcc43/Makefile:PORTVERSION=    4.3.6.20100620
gcc44/Makefile:PORTVERSION=    4.4.7.20110830
gcc45/Makefile:PORTVERSION=    4.5.4.20111013
gcc46/Makefile:PORTVERSION=    4.6.2.20111021
gcc47/Makefile:PORTVERSION=    4.7.0.20111022


> Which begs the questions: what's your version of GCC ?

FreeBSD 9.0 comes default with GCC version 4.2.2:

[~] edwin@t43>gcc -v
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.2 20070831 prerelease [FreeBSD]

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.