diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2011-12-12 15:36:08 +0100 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2011-12-13 07:43:53 +0100 |
commit | bcca541da9f60d95fe7f0f7b3aa6ef4a8251b1e2 (patch) | |
tree | 1fb6199fbd760441fe84df36bf08d6878405e377 /changes | |
parent | 0582746e0d25ef07e925521f9e6eb272725f64ee (diff) | |
download | tor-bcca541da9f60d95fe7f0f7b3aa6ef4a8251b1e2.tar tor-bcca541da9f60d95fe7f0f7b3aa6ef4a8251b1e2.tar.gz |
Build with warnings and clang 3.0
--enable-gcc-warnings enables two warnings that clang doesn't support,
so the build fails. We had hoped clang 3.0 would add those, but it
didn't, so let's just always disable those warnings when building with
clang. We can still fix it later once they add support
Diffstat (limited to 'changes')
-rw-r--r-- | changes/clang_30_options | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changes/clang_30_options b/changes/clang_30_options new file mode 100644 index 000000000..e8e34c8e3 --- /dev/null +++ b/changes/clang_30_options @@ -0,0 +1,5 @@ + o Code simplifications and refactoring: + - During configure, detect when we're building with clang version 3.0 or + lower and disable the -Wnormalized=id and -Woverride-init CFLAGS. + clang doesn't support them yet. + |