hdf5/java
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
..
examples Improve handling of copying of dynamic libraries and clean them up after (#1681) 2022-04-24 09:59:12 -05:00
lib Update the java slf4j logging jars to latest 1.7.33 (#1369) 2022-01-18 07:44:11 -06:00
src Various warning fixes (#1812) 2022-06-22 09:16:30 -07:00
test Improve handling of copying of dynamic libraries and clean them up after (#1681) 2022-04-24 09:59:12 -05:00
CMakeLists.txt Reclassify CMake messages - HDFFV-11144 (#253) 2021-01-13 08:29:15 -06:00
Makefile.am #386 copyright corrections for java folder (#389) 2021-02-26 09:27:15 -06:00