hdf5/config
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
..
clang-warnings Fixes for format string warnings raised by -Wformat=2/-Wformat-security (#1489) 2022-03-11 13:10:20 -06:00
cmake Various warning fixes (#1812) 2022-06-22 09:16:30 -07:00
cmake_ext_mod Various warning fixes (#1812) 2022-06-22 09:16:30 -07:00
gnu-warnings Re-promote some GNU warnings to errors (#1508) 2022-05-06 16:26:48 -07:00
intel-warnings Windows and *nix use different forms for warnings (#1515) 2022-03-24 08:27:29 -05:00
sanitizer Fix cmake dynamic analysis on windows (#1373) 2022-01-24 07:46:17 -06:00
site-specific Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
toolchain Fix clang/sanitizer for windows (#883) 2021-08-16 08:05:25 -05:00
apple Minor things noticed while merging to 1.10 (#1739) 2022-05-06 11:06:52 -07:00
BlankForm Minor things noticed while merging to 1.10 (#1739) 2022-05-06 11:06:52 -07:00
cce-fflags Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
cce-flags Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
clang-cxxflags To reduce maintenance effort, delete the noerror- variants of the compiler flags files (#1033) 2021-10-06 16:24:22 -05:00
clang-flags To reduce maintenance effort, delete the noerror- variants of the compiler flags files (#1033) 2021-10-06 16:24:22 -05:00
commence.am Moves H5PacketTable default ctor inside source file (#731) 2021-06-05 23:00:30 -05:00
conclude_fc.am Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
conclude.am Mirror vfd test fixes (#1629) 2022-04-18 15:28:20 -05:00
cygwin Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
examples.am Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
freebsd Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
gnu-cxxflags Fixed Spelling Errors (#1166) 2021-12-07 08:27:29 -06:00
gnu-fflags Github #1019 - add Fortran developer flags (#1090) 2021-10-27 16:32:33 -05:00
gnu-flags Re-promote some GNU warnings to errors (#1508) 2022-05-06 16:26:48 -07:00
ibm-aix Various warning fixes (#1812) 2022-06-22 09:16:30 -07:00
ibm-flags Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
intel-cxxflags Fix warnings files (#753) 2021-06-15 08:49:05 -05:00
intel-fflags Fix warnings files (#753) 2021-06-15 08:49:05 -05:00
intel-flags Fix warnings files (#753) 2021-06-15 08:49:05 -05:00
libhdf5.pc.in Reclassify CMake messages - HDFFV-11144 (#253) 2021-01-13 08:29:15 -06:00
linux-gnu Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
linux-gnuaout Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
linux-gnueabihf Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
linux-gnulibc1 Adds an Intel C++ configuration file (#716) 2021-06-03 11:51:25 -05:00
linux-gnulibc2 Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
lt_vers.am Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
Makefile.am.blank Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
netbsd Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
pgi-cxxflags Fix warnings files (#753) 2021-06-15 08:49:05 -05:00
pgi-fflags Fix warnings files (#753) 2021-06-15 08:49:05 -05:00
pgi-flags Fix warnings files (#753) 2021-06-15 08:49:05 -05:00
solaris Fixed Spelling Errors (#1166) 2021-12-07 08:27:29 -06:00