Skip to content

Commit be02023

Browse files
authored
Merge pull request #113 from kmorel/gcc12-warning
Ignore GCC 12 warning about use after free
2 parents 0de45ab + 45f6ef8 commit be02023

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CTestCustom.cmake.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
6060
# OLCF Ascent/Summit
6161
"viskores/thirdparty"
6262

63+
# Disable a particular warning that comes from DIY and GCC 12. The warning seems incorrect.
64+
"12/bits/stl_vector.h:988:50: warning: pointer used after"
65+
"12/bits/new_allocator.h:158:33: note: call to"
66+
6367
# Disable warning that can happen in the standard lib from the loguru
6468
# third party library. This is a note that can get flagged because it
6569
# happens in a file outside of the thirdparty directory.

0 commit comments

Comments
 (0)