hdf5/tools/lib
David Young 14851e3b82 Merge pull request #2650 in HDFFV/hdf5 from ~DYOUNG/werror:rebased-fprintf-experiment to develop
* commit 'c0fbc5c086566d5d3c1d1ef26baa81a53d59fc08': (24 commits)
  Use the right format string, "%zu", for size_t.
  Repair more format strings.
  Fix a bunch of format string errors reported by Larry.
  Fix some HDfprintf compilation errors: use the right format strings ("zu", PRIuHSIZE), avoid casting some printf arguments, pass the right number of arguments.
  Test the format string "ll" before "l", "L", and "q", like the ./configure script does.  This ought to fix the compilation failure in test/dt_arith.c that Allen told me about:
  Cast a non-void pointer to void pointer for "%p".
  Use PRIu32 and "zu" formats.  Delete some casts from `size_t`.
  I'm taking a guess that this code intended to point the 2-digit wide hexadecimal octet values, not 2 character-wide pointers to the bytes.  The %02p format, which is a GNU-ism, disagreed with GCC 8.3.0 and the option flags we use.
  %08p is not portable, it's a GNU-ism.  Use %8p, instead.  Squashes a GCC error.
  Add format string macros PRI[doxX]HID for hid_t and use PRIdHID.
  Use HDva_copy() and introduce a bunch of compatbility format-string constants for uppercase hexadecimal strings, `PRIX...`.  Should fix the VS2010 errors that Allen mentioned:
  Always #define HDfprintf as fprintf in this header.  I believe this will fix the Windows build error that Allen reported.
  Provide an HDvasprintf implementation only if it isn't #defined.  This should fix the mingw compilation issue that Allen reported.
  Fix va_list usage in the vasprintf(3) implementation.
  Promote format-string warnings to errors.
  Use the portable `-eq` operator instead of the bash-ism `==`. Fixes the tests on NetBSD, where /bin/sh != bash.
  Restore a literal percent sign ("%%") that I accidentally deleted.
  Fix code that made GCC complain about a NULL or `unsigned char *` arguments for "%s".
  Take pains to provide UINT64_MAX in all conditions.
  Correct a couple of format strings.
  ...
2020-09-28 14:42:18 -05:00
..
CMakeLists.txt OESS-98 merge with clang-format changes 2020-09-25 16:43:57 -05:00
h5diff_array.c Warnings reduction in tools 2020-07-30 11:26:14 -05:00
h5diff_attr.c Warning fixes in tools and h5test.c 2020-08-05 17:15:57 -07:00
h5diff_dset.c Warnings reduction in tools 2020-07-30 11:26:14 -05:00
h5diff_util.c Squash my changes on branch fprintf-experiment into one commit for 2020-07-07 10:49:55 -05:00
h5diff.c Warnings reduction in tools 2020-07-30 11:26:14 -05:00
h5diff.h Warnings reduction in tools 2020-07-30 11:26:14 -05:00
h5tools_dump.c Merge remote-tracking branch 'hdffv/develop' into rebased-fprintf-experiment 2020-07-30 18:15:09 -05:00
h5tools_dump.h Tools refactor 2020-07-15 11:20:16 -05:00
h5tools_error.h Update Tools library to be better compatible with VOL connectors 2020-03-17 14:25:36 -05:00
h5tools_filters.c Clean up tools warnings introduced by H5TOOLS_ERR_INIT macro 2019-12-30 18:02:06 -06:00
h5tools_ref.c Squashed commit of the token_refactoring branch: 2020-01-16 13:29:34 -08:00
h5tools_ref.h Squashed commit of the token_refactoring branch: 2020-01-16 13:29:34 -08:00
h5tools_str.c Warnings reduction in tools 2020-07-30 11:26:14 -05:00
h5tools_str.h Removes staff email addresses from the repository 2020-08-06 17:58:07 -07:00
h5tools_type.c Update tools hid_t declarations with H5I_INVALID_HID 2020-01-13 17:10:09 -06:00
h5tools_utils.c HDFFV-9984 Add options to merge/prune external links during repack 2020-08-14 12:16:58 -05:00
h5tools_utils.h Removes staff email addresses from the repository 2020-08-06 17:58:07 -07:00
h5tools.c Warnings reduction in tools 2020-07-30 11:26:14 -05:00
h5tools.h Removes staff email addresses from the repository 2020-08-06 17:58:07 -07:00
h5trav.c Squashed commit of the token_refactoring branch: 2020-01-16 13:29:34 -08:00
h5trav.h Trim trailing whitespace 2020-04-20 18:12:00 -05:00
io_timer.c Tools refactor 2020-07-15 11:20:16 -05:00
io_timer.h Correct standalone function attributes 2020-01-17 12:15:16 -06:00
Makefile.am Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10 2017-04-25 16:05:36 -05:00
ph5diff.h HDFFV-10297 add h5copy test and fix h5diff errors 2017-10-16 17:26:23 -05:00