Commit 08a75e07 authored by Ralf Habacker's avatar Ralf Habacker Committed by Simon McVittie

Enable -Wsign-compare for cmake builds.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=17289Reviewed-by: Ralf Habacker's avatarRalf Habacker <ralf.habacker@freenet.de>
parent 50bd76ac
......@@ -190,6 +190,8 @@ if(DBUS_WITH_GLIB)
endif()
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wsign-compare")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wsign-compare")
#########################################################################
# Windows CE (>= 5.0.0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment