[vlmc-devel] cmake: add -Wextra

Ludovic Fauvet git at videolan.org
Sun Mar 2 12:47:18 CET 2014


vlmc | branch: master | Ludovic Fauvet <etix at videolan.org> | Sun Mar  2 12:44:56 2014 +0100| [a295cbd1525576d352cf38c197d8db33936a2c90] | committer: Ludovic Fauvet

cmake: add -Wextra

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=a295cbd1525576d352cf38c197d8db33936a2c90
---

 src/CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 86e3c4f..9e3a483 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -265,7 +265,7 @@ ADD_CUSTOM_COMMAND(
     DEPENDS ${CMAKE_BINARY_DIR}/src/vlmc
 )
 
-ADD_DEFINITIONS( -W -Wall )
+ADD_DEFINITIONS( -W -Wall -Wextra )
 
 IF(UNIX)
     IF (WITH_PROFILING)



More information about the Vlmc-devel mailing list