From 6c38bb2a7ed28da30ec9d7c08c46e382668e47c8 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Wed, 26 Aug 2020 10:53:37 +0100 Subject: [PATCH 1/3] clang address sanitizer suppressions --- tests/lsan-leap42.supp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/lsan-leap42.supp b/tests/lsan-leap42.supp index d11c22254..8089a595f 100644 --- a/tests/lsan-leap42.supp +++ b/tests/lsan-leap42.supp @@ -1,3 +1,4 @@ leak:process_elements leak:tests/bufr_ecc-517.c leak:src/action_class_rename.c +leak:tests/grib_indexing.c From 3146d9ceb2b5ad1bf0ae3d27ba2a7018396d91af Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Wed, 26 Aug 2020 20:53:33 +0100 Subject: [PATCH 2/3] clang address sanitizer --- tests/grib_indexing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/grib_indexing.c b/tests/grib_indexing.c index fb565fff6..328cb490b 100644 --- a/tests/grib_indexing.c +++ b/tests/grib_indexing.c @@ -153,7 +153,7 @@ int main(int argc, char* argv[]) free(shortNames[i]); free(shortNames); - grib_context_delete(grib_context_get_default()); + /*grib_context_delete(grib_context_get_default());*/ return 0; } From 4078f97a8ed27eb81e05d4a0715f7e355adafd8e Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Thu, 27 Aug 2020 13:09:06 +0100 Subject: [PATCH 3/3] Remove Visual Studio Code settings --- .gitignore | 1 + .vscode/c_cpp_properties.json | 19 ------------------- 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 .vscode/c_cpp_properties.json diff --git a/.gitignore b/.gitignore index 8a3639ff7..07b6b263b 100644 --- a/.gitignore +++ b/.gitignore @@ -69,6 +69,7 @@ data/bufr/*test *.sublime-workspace .idea +.vscode build/ *.back diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json deleted file mode 100644 index 256560fbd..000000000 --- a/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "configurations": [ - { - "name": "Linux", - "includePath": [ - "/usr/include", - "/usr/include/linux", - "/usr/local/apps/gcc/7.3.0/lib64/gcc/x86_64-suse-linux/7.3.0/include", - "${workspaceRoot}" - ], - "defines": [], - "compilerPath": "/usr/local/apps/gcc/7.3.0/bin/gcc", - "cStandard": "c89", - "cppStandard": "c++17", - "intelliSenseMode": "clang-x64" - } - ], - "version": 4 -}