Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

Commit

Permalink
Add -Wno-class-memaccess
Browse files Browse the repository at this point in the history
See #193
  • Loading branch information
ColinDuquesnoy committed Feb 9, 2018
1 parent 7e9bd48 commit cd52bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if(MSVC_COMPILER)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
else()
set(TESTS_CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -W -Wall -Wextra -Wno-unused-private-field -Wno-c++1z-extensions -Winvalid-pch")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -W -Wall -Wextra -Wno-unused-private-field -Wno-c++1z-extensions -Winvalid-pch -Wnon-virtual-dtor -Wdelete-non-virtual-dtor")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -W -Wall -Wextra -Wno-unused-private-field -Wno-c++1z-extensions -Winvalid-pch -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wno-class-memaccess")
endif()

# Setup compiler settings
Expand Down

0 comments on commit cd52bcf

Please sign in to comment.