mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
8b2e7b32b5
* 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> |
||
---|---|---|
.. | ||
HISTORY-1_0-1_8_0_rc3.txt | ||
HISTORY-1_8_0-1_10_0.txt | ||
HISTORY-1_8.txt | ||
HISTORY-1_10_0-1_12_0.txt | ||
HISTORY-1_10.txt | ||
HISTORY-1_12.txt | ||
HISTORY-1_13.txt | ||
INSTALL | ||
INSTALL_CMake.txt | ||
INSTALL_Cygwin.txt | ||
INSTALL_parallel | ||
INSTALL_Warnings.txt | ||
INSTALL_Windows.txt | ||
README_HDF5_CMake | ||
README_HPC | ||
RELEASE.txt | ||
USING_CMake_Examples.txt | ||
USING_HDF5_CMake.txt | ||
USING_HDF5_VS.txt |