diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-03-20 20:00:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-20 20:00:06 (GMT) |
commit | b766e5f96f26805e8c92e718a05f42d073912711 (patch) | |
tree | 0b7c992bc24581608d308428e25b0f93e86bdd61 /config/clang-cxxflags | |
parent | 1ffaa38174b0f784b7ed6a471f40bf0e749ceac3 (diff) | |
download | hdf5-b766e5f96f26805e8c92e718a05f42d073912711.zip hdf5-b766e5f96f26805e8c92e718a05f42d073912711.tar.gz hdf5-b766e5f96f26805e8c92e718a05f42d073912711.tar.bz2 |
Normalize platform-independence code w/ develop (#2615)
* Normalize platform-independence code w/ develop
* Use C99 types and functions in lieu of C89 work-arounds
* Align key files with develop
- H5public.h
- H5private.h
- H5system.c
- H5win32defs.h
* Minor fixes elsewhere to support changes in above files
* Incidentally brings Fortran mod directory settings file change over
This does NOT change the configure/build files. Those will still do the
checks needed for the C89 work-around cruft until the perf and perform
code gets cleaned up.
* Add C++98 fixes
* Explicitly set -std=c++98 in Autotools
* Do not include cstdlib in H5public.h (requires C++11)
* Remove redundant stdbool.h include
* Fix alarm issues on Windows
* Bring parallel alarm() changes from develop
Diffstat (limited to 'config/clang-cxxflags')
-rw-r--r-- | config/clang-cxxflags | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/clang-cxxflags b/config/clang-cxxflags index 5685ca1..c279d67 100644 --- a/config/clang-cxxflags +++ b/config/clang-cxxflags @@ -112,7 +112,7 @@ if test "X-clang" = "X-$cxx_vendor" -o "X-Apple LLVM" = "X-$cxx_vendor"; then ;; esac - H5_CXXFLAGS="$H5_CXXFLAGS $arch" + H5_CXXFLAGS="$H5_CXXFLAGS $arch -std=c++98" ############## # Production # |