# HG changeset patch # User František Kučera # Date 1532785362 -7200 # Node ID dc2121dec8561bbdacc08732c5e966d2204a1716 # Parent cfed80d11caae88b9d2d7381e2f997fb10f26358 ASan: add AddressSanitizer g++ option: -fsanitize=address diff -r cfed80d11caa -r dc2121dec856 nbproject/Makefile-Debug.mk --- a/nbproject/Makefile-Debug.mk Sat Jul 28 15:11:07 2018 +0200 +++ b/nbproject/Makefile-Debug.mk Sat Jul 28 15:42:42 2018 +0200 @@ -42,8 +42,8 @@ CFLAGS= # CC Compiler Flags -CCFLAGS= -CXXFLAGS= +CCFLAGS=-fsanitize=address +CXXFLAGS=-fsanitize=address # Fortran Compiler Flags FFLAGS= diff -r cfed80d11caa -r dc2121dec856 nbproject/configurations.xml --- a/nbproject/configurations.xml Sat Jul 28 15:11:07 2018 +0200 +++ b/nbproject/configurations.xml Sat Jul 28 15:42:42 2018 +0200 @@ -48,6 +48,7 @@ 11 + -fsanitize=address diff -r cfed80d11caa -r dc2121dec856 relpipe-in-cli.cpp --- a/relpipe-in-cli.cpp Sat Jul 28 15:11:07 2018 +0200 +++ b/relpipe-in-cli.cpp Sat Jul 28 15:42:42 2018 +0200 @@ -1,8 +1,6 @@ #include #include -#include - #include #include #include