[cfe-commits] [libc++][patch] Fix warning flags for CMake builds

Andrew C. Morrow andrew.c.morrow at gmail.com
Tue May 29 10:56:22 PDT 2012


Hi -

The current top level CMakeLists.txt for libc++ adds warning flags to
a variable named LIBCXX_WARNING_FLAGS, but then uses
LIBCXX_CXX_WARNING_FLAGS when it calls add_definitions, so the flags
are not actually added to the build. The attached patch changes
LIBCXX_WARNING_FLAGS to LIBCXX_CXX_WARNING_FLAGS.

Thanks,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmake.warnflags.patch
Type: application/octet-stream
Size: 1462 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120529/48476b49/attachment.obj>


More information about the cfe-commits mailing list