[LLVMbugs] [Bug 17238] clang++, -Wno-Unused-private-field, and field used in constructor initializer
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Sep 13 13:23:31 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17238
David Blaikie <dblaikie at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #4 from David Blaikie <dblaikie at gmail.com> ---
> libtool: compile: /usr/local/bin/clang++ -Wno-unused-private-field
> -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src
> -I../../include -I/opt/local/include -I/opt/local/include -I../../libltdl
> -I/opt/local/include -I/opt/local/include -Wall -Wpointer-arith
> -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT
> Intercept.lo -MD -MP -MF .deps/Intercept.Tpo -c Intercept.cc -fno-common
> -DPIC -o .libs/Intercept.o
You have an ordering problem with your flags. -Wall re-enables
-Wunused-private-field after you disabled it. You'll want
-Wno-unused-private-field to proceed -Wall (or any other flag that might be
enabling -Wunused-private-field).
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130913/958fa870/attachment.html>
More information about the llvm-bugs
mailing list