]> Devoid-pointer.net GitWeb - FFBChecker.git/commitdiff
Be more strict with compiler warnings
authorMichal Malý <madcatxster@devoid-pointer.net>
Wed, 31 Jul 2019 15:40:54 +0000 (17:40 +0200)
committerMichal Malý <madcatxster@devoid-pointer.net>
Wed, 31 Jul 2019 15:40:54 +0000 (17:40 +0200)
CMakeLists.txt

index c70ad22f82c0283ef4b58977f195cf007f3fa3a9..6192e7c7010e67bc3e0ee919779924fb129e5134 100644 (file)
@@ -7,7 +7,7 @@ find_package(Qt5Widgets REQUIRED)
 if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
     # Linux-specific definitions
     set(PLATFORM_LINUX 1)
-    add_definitions("-std=c++11 -Wall -Wextra")
+    add_definitions("-std=c++11 -Wall -Wextra -pedantic")
     add_definitions("-DFFBC_PLATFORM_LINUX")
 
     if (CMAKE_BUILD_TYPE EQUAL "DEBUG")