]> granicus.if.org Git - libevent/commit
Fix compilation under LLVM/clang with --enable-gcc-warnings
authorSebastian Hahn <sebastian@torproject.org>
Sun, 10 Apr 2011 15:23:11 +0000 (17:23 +0200)
committerSebastian Hahn <sebastian@torproject.org>
Sat, 23 Apr 2011 00:03:48 +0000 (02:03 +0200)
commitad9ff5834a3cb2ee485353ab03d6c509e2200f17
treee0e360571de6880a2381dfa944346705bdc868dc
parentb4f89f00c607689d867a83d9d52535f371c5d750
Fix compilation under LLVM/clang with --enable-gcc-warnings

When compiling using clang (2.9 or lower) do not enable
-Wnormalized=id or -Woverride-init when --enable-gcc-warnings
or --enable-gcc-warnings-advisory is set as these options
are unsupported.

This commit is based on a patch for Tor
(git commit 56bdc844ba68ac0911efc7ad3398f1eafeaaac76 by Steven
Murdoch), Copyright (c) 2007-2011, The Tor Project, Inc.
configure.in