From 28783add0035c46efa2754038d55f8a31ca93526 Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Thu, 2 Mar 2017 13:14:45 +0000 Subject: Add Boost system libraries for examples using persistence Remove useless includes in example_nearest_landmark_table.cpp Fix list iterator not dereferencable on example nearest_landmark_table git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/relaxed-witness@2126 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: c93f00a0892737e1324a3ee8378ef7d49e6517d4 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index a71ad829..07992ba1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,7 +59,7 @@ else() # Turn off some VC++ warnings set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4267 /wd4668 /wd4311 /wd4800 /wd4820 /wd4503 /wd4244 /wd4345 /wd4996 /wd4396 /wd4018") else() - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -pedantic") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -pedantic -fsanitize=address -fno-omit-frame-pointer") endif() if(CMAKE_BUILD_TYPE MATCHES Debug) -- cgit v1.2.3