mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-11 16:01:00 +08:00
* Fixed -Wreserved-id-macro warnings from header include guards * Removed all __int64 and LL suffix stuff now that C99 is minimum requirement * Rename `H5FD_CTL__` to `H5FD_CTL_` to fix -Wreserved-id-macro warnings Double underscore is reserved in C++ and this public header should be C++ compatible. * Never define __STDC_FORMAT_MACROS anymore Defining it causes a -Wreserved-id-macro. Happily, according to the C++11 standard: "The macros defined by <stdint> are provided unconditionally. In particular, the symbols __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS (mentioned in C99 footnotes 219, 220, and 222) play no role in C++." https://cplusplus.github.io/LWG/issue984 So looks like it's not necessary to define it with reasonably new toolchains. * Fixed some -Wunused-macros warnings, removed dead code * Fixed all -Wdouble-promotion warnings in C++ files * Fixed remaining -Wsuggest-destructor-override warnings * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
clang-warnings | ||
cmake | ||
cmake_ext_mod | ||
gnu-warnings | ||
intel-warnings | ||
sanitizer | ||
site-specific | ||
toolchain | ||
apple | ||
BlankForm | ||
cce-fflags | ||
cce-flags | ||
clang-cxxflags | ||
clang-flags | ||
commence.am | ||
conclude_fc.am | ||
conclude.am | ||
cygwin | ||
examples.am | ||
freebsd | ||
gnu-cxxflags | ||
gnu-fflags | ||
gnu-flags | ||
ibm-aix | ||
ibm-flags | ||
intel-cxxflags | ||
intel-fflags | ||
intel-flags | ||
libhdf5.pc.in | ||
linux-gnu | ||
linux-gnuaout | ||
linux-gnueabihf | ||
linux-gnulibc1 | ||
linux-gnulibc2 | ||
lt_vers.am | ||
Makefile.am.blank | ||
netbsd | ||
pgi-cxxflags | ||
pgi-fflags | ||
pgi-flags | ||
solaris |