hdf5/c++/test
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
..
CMakeLists.txt
CMakeTests.cmake Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
CMakeVFDTests.cmake Split dir create into separate macro (#1141) 2021-10-28 07:49:28 -05:00
dsets.cpp Various warning fixes (#1812) 2022-06-22 09:16:30 -07:00
h5cpputil.cpp Update clang config (#473) 2021-03-17 10:25:39 -05:00
h5cpputil.h Various warning fixes (#1812) 2022-06-22 09:16:30 -07:00
H5srcdir_str.h.in Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
Makefile.am Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
tarray.cpp Fixes C++ warnings when passing hsize_t values to printf in test code (#745) 2021-06-11 07:52:36 -05:00
tattr.cpp Replaced several uses of sprintf with safer snprintf (#1383) 2022-01-28 10:34:57 -06:00
tcompound.cpp C++ warning and build fixes (#707) 2021-06-01 08:49:39 -05:00
tdspl.cpp C++ warning and build fixes (#707) 2021-06-01 08:49:39 -05:00
testhdf5.cpp VFD plugins (#602) 2021-09-29 13:28:12 -05:00
tfile.cpp C++ warning and build fixes (#707) 2021-06-01 08:49:39 -05:00
tfilter.cpp Various warning fixes (#1812) 2022-06-22 09:16:30 -07:00
th5s.cpp Used clang-tidy to change all floating point f suffixes to F (#1359) 2022-01-28 08:31:26 -06:00
th5s.h5
titerate.cpp Implemented suggestion in #1381 for dtransform test (#1415) 2022-02-04 16:50:45 -06:00
tlinks.cpp C++ warning and build fixes (#707) 2021-06-01 08:49:39 -05:00
tobject.cpp Fixed Spelling Errors (#1166) 2021-12-07 08:27:29 -06:00
trefer.cpp Various warning fixes (#1812) 2022-06-22 09:16:30 -07:00
ttypes.cpp Various warning fixes (#1812) 2022-06-22 09:16:30 -07:00
tvlstr.cpp Replaced several uses of sprintf with safer snprintf (#1383) 2022-01-28 10:34:57 -06:00