Closed rrsettgast closed 9 months ago
What is the host config you are using ? Are the CMAKE_CXX_FLAGS_RELEASE
overridden ?
@tbeltzun Would your PR close this issue?
https://github.com/GEOS-DEV/thirdPartyLibs/pull/248 in conjunction with https://github.com/GEOS-DEV/GEOS/pull/2721 would close it, yes.
OK thanks! I've linked the PR and assigned this issue to your so you get the credit 😉
Describe the bug I tried to build on Mac, and got the following error:
This error makes sense, as
geosx::NodesAndElementOfFace
in fact does not have a member namednumNodes
.The question is why is this passing everywhere else besides Mac? Digging a little deeper, the
GEOSX_ASSERT_EQ
macro ends up calling:So if
NDEBUG
is defined, then theASSERT
is a no-op.So looking at the Mac compile line:
Note there is no
NDEBUG
Looking at the compile line for clang-debug on quartz:
There is a
-DNDEBUG
in there.So this is incorrect behavior. This is a debug run, so
-DNDEBUG
should not be on the compile line.-DNDEBUG
is included in the quartz debug build.GEOSX_ASSERT_EQ( numNodesInFace, f0.numNodes )
to be valid code.