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

Date: Fri, 01 Mar 2013 18:29:30 +0000

Comment # 12 on bug 6489 from
(In reply to comment #11)
> Created attachment 10124 [details]
> pragma for clang
> 
> Building with clang also gives some other warnings, but maybe we should
> apply this patch?

I just tried

Debian clang version 3.0-6.1 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: x86_64-pc-linux-gnu
Thread model: posix


I did
export CC=clang
autogen.sh
configure
make

This fails with

warning: unknown warning option '-Wjump-misses-init' [-Wunknown-warning-option]
warning: unknown warning option '-Wpragmas' [-Wunknown-warning-option]
warning: unknown warning option '-Wlogical-op' [-Wunknown-warning-option]

before I get anywhere close to including libgcrypt.

I've never tried clang before, am I doing anything fundamentally wrong?

Regarding the patch, do you know when the prama push/pop was introduced in
clang? Do we have to check the version like for gcc?


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