Commit dfa21e48 authored by Volker Krause's avatar Volker Krause
Browse files

Fix -pedantic warnings.

parent 554ac5a1
......@@ -51,7 +51,7 @@ set(CMAKE_CXX_VISIBILITY_PRESET hidden)
set(CMAKE_VISIBILITY_INLINES_HIDDEN ON)
if(CMAKE_COMPILER_IS_GNUCXX OR ${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated -Wextra -Wall -Werror=return-type -std=c++0x")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated -Wextra -Wall -Werror=return-type -std=c++0x -pedantic")
endif()
if(NOT ECM_ENABLE_SANITIZERS AND (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME STREQUAL GNU))
......
......@@ -39,7 +39,7 @@ public:
BasicStatistics,
AllStatistics
};
Q_ENUMS(StatisticsCollectionMode);
Q_ENUMS(StatisticsCollectionMode)
explicit Provider(QObject *parent = Q_NULLPTR);
~Provider();
......
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