Merge pull request #3904 from dhustkoder/master

_DEFAULT_SOURCE flag added, and clang check version for IsTriviallyCopyable m…
This commit is contained in:
Chris Burgener
2016-06-22 10:54:39 -04:00
committed by GitHub
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ endmacro()
# Enabling all warnings in MSVC spams too much
if(NOT MSVC)
add_definitions(-Wall)
add_definitions(-D_DEFAULT_SOURCE)
# TODO: would like these but they produce overwhelming amounts of warnings
#check_and_add_flag(EXTRA -Wextra)
#check_and_add_flag(MISSING_FIELD_INITIALIZERS -Wmissing-field-initializers)