hdf5/config/cmake_ext_mod
Sean McBride 8b2e7b32b5
Various warning fixes (#1812)
* 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>
2022-06-22 09:16:30 -07:00
..
ConfigureChecks.cmake Various warning fixes (#1812) 2022-06-22 09:16:30 -07:00
CTestCustom.cmake CMake cleanup 2020-02-21 15:14:42 -06:00
FindSZIP.cmake Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
GetTimeOfDayTest.cpp Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
grepTest.cmake Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
hdf.bmp
hdf.icns
hdf.ico
HDFLibMacros.cmake Add SZ filter and adjust compression file names to avoid conflicts (#1434) 2022-02-17 10:05:08 -06:00
HDFMacros.cmake Develop sync (#1793) 2022-06-09 08:35:33 -05:00
HDFTests.c Various warning fixes (#1812) 2022-06-22 09:16:30 -07:00
HDFUseFortran.cmake Fixed Spelling Errors (#1166) 2021-12-07 08:27:29 -06:00
NSIS.InstallOptions.ini.in
NSIS.template.in Fixed Spelling Errors (#1166) 2021-12-07 08:27:29 -06:00
runTest.cmake Update command format, avoid policy warning (#1550) 2022-03-30 18:01:22 -05:00
version.plist.in