Revision: 45506
http://brlcad.svn.sourceforge.net/brlcad/?rev=45506&view=rev
Author: starseeker
Date: 2011-07-15 21:09:07 +0000 (Fri, 15 Jul 2011)
Log Message:
-----------
Clang likes to complain about unused command line arguments, and we don't
really care.
Modified Paths:
--------------
brlcad/trunk/misc/CMake/CompilerFlags.cmake
Modified: brlcad/trunk/misc/CMake/CompilerFlags.cmake
===================================================================
--- brlcad/trunk/misc/CMake/CompilerFlags.cmake 2011-07-15 21:08:23 UTC (rev
45505)
+++ brlcad/trunk/misc/CMake/CompilerFlags.cmake 2011-07-15 21:09:07 UTC (rev
45506)
@@ -104,6 +104,12 @@
# Check for gnu c99 support
CHECK_C_FLAG("std=gnu99")
+# Silence check for unused arguments (used to silence clang warnings about
+# unused options on the command line). By default clang generates a lot of
+# warnings about such arguments, and we don't really care.
+CHECK_C_FLAG(Qunused-arguments)
+CHECK_CXX_FLAG(Qunused-arguments)
+
# 64bit compilation flags
IF(BRLCAD-ENABLE_64BIT)
CHECK_C_FLAG(m64 64BIT_FLAG)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits