Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher.
This commit is contained in:
@@ -263,6 +263,10 @@ macro(set_exe_flags)
|
||||
# flags introduced in 3.2
|
||||
add_flags_cxx("-Wno-documentation")
|
||||
endif()
|
||||
if ("${CLANG_VERSION}" VERSION_GREATER 3.5)
|
||||
# Use this flag to ignore error for a reserved macro problem in sqlite 3
|
||||
add_flags_cxx("-Wno-reserved-id-macro")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user