Removed checks/workarounds for pre-C++89 compatibility (#449)

After 30+ years, just assume that the following exist:
- extension-less includes
- namespaces
- std::
- static_cast
- bool
This commit is contained in:
Sean McBride
2021-03-10 12:51:45 -05:00
committed by GitHub
parent c41a1cb209
commit 20c452fe5c
37 changed files with 6 additions and 235 deletions

View File

@@ -103,11 +103,6 @@ endmacro ()
#-----------------------------------------------------------------------------
if (CMAKE_CXX_COMPILER_LOADED)
foreach (cxx_test
OLD_HEADER_FILENAME
HDF_NO_NAMESPACE
HDF_NO_STD
BOOL_NOTDEFINED
NO_STATIC_CAST
CXX_HAVE_OFFSETOF
)
HDF_CXX_FUNCTION_TEST (${cxx_test})