summaryrefslogtreecommitdiffstats
path: root/tools/test/perform
Commit message (Collapse)AuthorAgeFilesLines
...
| * Merge remote-tracking branch 'hdffv/develop' into rebased-fprintf-experimentDavid Young2020-09-272-19/+94
| |\
| * | Repair more format strings.David Young2020-09-261-2/+2
| | |
| * | Merge remote-tracking branch 'hdffv/develop' into rebased-fprintf-experimentDavid Young2020-09-034-4/+4
| |\ \
| * | | Always #define HDfprintf as fprintf in this header. I believe this will fixDavid Young2020-07-071-1/+1
| | | | | | | | | | | | | | | | the Windows build error that Allen reported.
| * | | Squash my changes on branch `fprintf-experiment` into one commit forDavid Young2020-07-073-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reapplication to my new warnings branch, `warnings-again`. These changes are included: commit 915551b7bf64e777dd2007386ec77b1d117770da Merge: 63858c2 a8892bb Author: David Young <dyoung@hdfgroup.org> Date: Mon Nov 25 17:39:49 2019 -0600 Merge remote-tracking branch 'hdf5/develop' into fprintf-experiment commit a8892bb42d6f6e4fbc30fae0eb2b957f81c938b9 Merge: 5c911d8 f907b51 Author: David Young <dyoung@hdfgroup.org> Date: Mon Nov 25 17:33:54 2019 -0600 Merge pull request #2055 in HDFFV/hdf5 from ~DYOUNG/vchoi_fork:add-werror-and-squash-some to develop * commit 'f907b511d06612dafc7814a7c30f2f3d2b76d52b': Oops, remove more C99 designated initializers for VS 2010 compatibility. commit 63858c22e168acaec0af8ced6641f26102cc6bb0 Merge: 20ae787 5c911d8 Author: David Young <dyoung@hdfgroup.org> Date: Mon Nov 25 17:04:42 2019 -0600 Merge remote-tracking branch 'hdf5/develop' into fprintf-experiment commit 5c911d8baf3ee7fe654269088eebdf07f59a8192 Merge: b8a5671 62208b0 Author: David Young <dyoung@hdfgroup.org> Date: Mon Nov 25 16:58:27 2019 -0600 Merge pull request #2030 in HDFFV/hdf5 from ~DYOUNG/vchoi_fork:add-werror-and-squash-some to develop * commit '62208b056a09c01855fbac7f75146be58ad6bfe5': (44 commits) Add an #include to get a function declaration. Don't use C99 designated initializers, they're not compatible with Visual Studio 2010. Quiet some more maybe-uninitialized warnings---each is a false positive, *sigh*. This is more code that may not compile with VS2010, *sigh sigh*. Always warn on maybe-uninitialized. -Wincompatible-pointer-types was not available until GCC 5, so enable it only if that's the GCC version we're using. Only promote maybe-uninitialized warnings to errors on GCC 8. Even on GCC 8, there may be false positives at low optimization levels? I need to check. Only use -Werror=cast-function-type with GCC 8 and later. Put all of the -W options back into the order I found them in so that it's easier to compare old and new config/gnu-flags. Add new source files to CMakeLists.txt. Mention the -Werror= flags in libhdf5.settings.in. free -> HDfree Promote decleration-after-statement warnings to errors. Quiet decleration-after-statement warnings. Move a statement under some declarations since some vintages of Visual Studio don't like declarations after statements. Document H5D__chunk_mem_xfree_wrapper(). Undo accidental test deletion. Oops, delete a debug printf that snuck in here. Undo my changes to the HD macros, hadn't really intended those to be on this branch.... Make errors of some more warnings. Move disabled warnings to DEVELOPER_WARNING_CFLAGS. Put just one warning option on a line, and sort some of the options. Cast to the parameter type, H5VL_token_t *, instead of to unsigned char *. Change hdset_reg_ref_t and H5R_ref_t from arrays of unsigned char to structs containing those arrays. Encapsulating the arrays in this way makes it easier to write and think about pointers to these types, casts to/from these types, etc. ... commit 20ae7877e33931b95e8c3502b027d6c3fe94a11f Merge: 46f8c61 edd5297 Author: David Young <dyoung@hdfgroup.org> Date: Fri Nov 22 15:34:09 2019 -0600 Merge remote-tracking branch 'origin/add-werror-and-squash-some' into fprintf-experiment commit 46f8c613d5117a8be5bc8385a072daa0b4262f06 Author: David Young <dyoung@hdfgroup.org> Date: Fri Nov 22 15:29:00 2019 -0600 GCC really wants us to use `ll` to format `long long`, so try to make that work before any other format modifier. Seems like we're not compiling the autoconf test program with -Werror=format ? Probably should. commit eee35b8ef3759c391327cd48a9b3c56b6f8abc99 Author: David Young <dyoung@hdfgroup.org> Date: Fri Nov 22 15:28:05 2019 -0600 It's hard to know just how wide an HDoff_t will be, and I don't think POSIX or C standards provide a PRI macro for it, so cast to intmax_t and format using PRIdMAX. commit 86eab12df7a89b546a38e99f8178dd2adbcb3433 Author: David Young <dyoung@hdfgroup.org> Date: Fri Nov 22 15:26:25 2019 -0600 URemove some casts.se the right format string for the argument. Here and there stop casting a printf argument. commit f722f7cbecbaa99449941484b014426f62f1bed5 Merge: 58e3743 6d5ec83 Author: David Young <dyoung@hdfgroup.org> Date: Fri Nov 22 14:44:16 2019 -0600 Merge branch 'add-werror-and-squash-some' into fprintf-experiment commit 58e3743b7faa9836606ee91798fe80dfc0040da7 Author: David Young <dyoung@hdfgroup.org> Date: Wed Nov 20 21:07:21 2019 -0600 Remove custom HDfprintf implementation, using the standard library's, instead. Take a swipe at repairing fprintf format strings, mainly replacing "%Hu" with "%" PRIuHSIZE, "%a" with "%" PRIuHADDR, "%Zu" with "%zu". Here and there remove an awkward cast of a printf argument to `long long` and use PRI[doux]8, PRI[doux]32, or PRI[doux]64, instead. Change occurrences of "%t" to "%s" and perform a suitable change of argument, `cond` -> `cond ? "TRUE" : "FALSE"`. Some occurrences of %Hu, %a, and %t remain, they just weren't flagged by the compiler because of #ifdef'age. commit d4366909293fa970c23512ac80e5d865d76cddbf Author: David Young <dyoung@hdfgroup.org> Date: Wed Nov 20 20:54:32 2019 -0600 Promote format-string warnigns to errors.
* | | | OESS-98 merge with clang-format changesAllen Byrne2020-09-251-11/+11
| |_|/ |/| |
* | | File changes to affect formattingAllen Byrne2020-09-041-2/+2
| | |
* | | CMake and script changes for clang-formatAllen Byrne2020-09-041-17/+92
| |/ |/|
* | Minor refactoring based on 1.10 normalization workDana Robinson2020-08-171-1/+1
| |
* | Removes staff email addresses from the repositoryDana Robinson2020-08-073-3/+3
|/ | | | Removes redundant C library headers from hl library
* Address CMake and deprecated API build failures from monotonic timer patch.Quincey Koziol2020-07-031-1/+1
|
* Clean up warningsQuincey Koziol2020-06-281-24/+24
|
* Refactor code to remove remaining checks for H5_HAVE_GETTIMEOFDAY scattered ↵Quincey Koziol2020-06-272-292/+149
| | | | around in various places. Also clean up iopipe.c.
* Removed HDgets macros since gets was deprecated in C99 and removedDana Robinson2020-05-102-2/+2
| | | | in C11 (gets() is not used in our repo).
* Fixed pio_perf const pointers.Dana Robinson2020-04-271-4/+4
|
* Fixes for warnings in the tools code.Dana Robinson2020-04-253-10/+10
|
* Trim trailing whitespaceQuincey Koziol2020-04-205-97/+97
|
* Fix standalone linkAllen Byrne2020-02-251-2/+2
|
* TRILAB-142 Change minimum CMake version to 3.12Allen Byrne2020-02-211-1/+1
|
* Merge pull request #2318 in HDFFV/hdf5 from ↵David Young2020-01-291-3/+2
|\ | | | | | | | | | | | | ~DYOUNG/werror:reduce-werror-diffs-1 to develop * commit 'fa1b2f6ef35c459c9f74ead885c119ae7f61c056': Reduce differences between my -Werror branch and `develop`:
| * Reduce differences between my -Werror branch and `develop`:David Young2020-01-291-3/+2
| | | | | | | | | | | | | | | | Rename index -> idx, fileno -> fnumber, fileno -> fno to avoid GCC shadowed declaration warnings about index(3). Convert #pragma GCC diagnostic push/pop/ignored to the HDF5 library's H5_GCC_DIAG_OFF()/H5_GCC_DIAG_ON() macros.
* | testpar/t_2Gio.c: Fix a typo that I think was introduced by aDavid Young2020-01-291-3/+11
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | previous warnings PR. An array element was assigned to itself---shape[2]Â =Â shape[2];---instead of being assigned to chunk[2]. fortran/src/H5Pf.c: move conditional compilation controlled by H5_NO_DEPRECATED_SYMBOLS outside of a function for readability. fortran/src/H5match_types.c: put a variable's declaration under the same conditional compilation (H5_FORTRAN_HAVE_C_LONG_DOUBLE) as its use. For now, skip compilation of some unused debug dump routines in the JNI. While I'm in the JNI, delete a set-but-unused variable. src/H5Z.c: condition a variable declaration on H5_NO_DEPRECATED_SYMBOLS so that it's not declared but unused or vice versa. test/cache_common.h: add an #include in to get some symbols we need to avoid implicit declaration warnings. test/dsets.c: use a more conventional conditional-compilation syntax. test/dt_arith.c, test/fillval.c: initialize a bunch of uninitialized variables before use. test/vfd.c: pass the expected type of `void **` to posix_memalign(3) instead of `int **`. testpar/t_bigio.c: explicitly compare with 0 instead of using ! when "equal to 0?" is the question not "is false?" Repair some indentation while I'm here. testpar/testpar.h: repair misaligned line-continuation backslashes in a macro that probably should be a function so that we don't have to fiddle with the line continuation to begin with. tools/src/h5repack/h5repack_main.c: fix some compiler fussing about enums. tools/test/perform/pio_engine.c: the compiler fusses if you cast a function call returning double directly to off_t. It's ok if you cast a variable that's a double to off_t, however. Write and use a new function, sqrto(), to avoid the cast warnings.
* change conditionkmu2020-01-271-1/+1
|
* fix Wredundant-decls, Wswitch-default, Wdeclaration-after-statement, ↵kmu2020-01-273-53/+87
| | | | Wsign-compare, Wmisleading-indentation, Wshadow
* squash cast warning fixkmu2020-01-234-136/+146
|
* merge and fix conflictkmu2020-01-2313-243/+374
|\
| * Merge pull request #2295 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/float to developKimmy Mu2020-01-231-0/+4
| |\ | | | | | | | | | | | | | | | | | | * commit '9afaf94bef740f89958a1a8aae369d5f607845f4': not use hdf5 private header fix float type cmp warning fix float type cmp warning
| | * not use hdf5 private headerkmu2020-01-221-1/+3
| | |
| | * fix float type cmp warningkmu2020-01-221-0/+2
| | |
| * | Merge pull request #2292 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/prototype to ↵Kimmy Mu2020-01-231-2/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | develop * commit '9f80ffa1f1908975b3100814b2529bf779521e13': fix missing prototype warning
| | * | fix missing prototype warningkmu2020-01-211-2/+0
| | | |
| * | | merge and fixkmu2020-01-212-4/+4
| |\ \ \ | | | |/ | | |/|
| | * | Correct standalone function attributesAllen Byrne2020-01-172-4/+4
| | | |
| * | | merge and fix conflictkmu2020-01-197-192/+201
| |\ \ \ | | |/ /
| | * | HDFFV-11001 need to qualify all by parallel or serial typesAllen Byrne2020-01-152-153/+154
| | | |
| | * | HDFFV-11001 Add fine control over testingAllen Byrne2020-01-151-2/+4
| | | |
| | * | Update tools hid_t declarations with H5I_INVALID_HIDAllen Byrne2020-01-135-34/+40
| | | |
| * | | merge and fix conflictskmu2020-01-146-17/+150
| |\ \ \ | | |/ /
| | * | io_timer.c uses a parallel lib functionAllen Byrne2020-01-102-4/+3
| | | |
| | * | Fix standalone compile issuesAllen Byrne2020-01-093-2/+137
| | | |
| | * | Merge pull request #2071 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings ↵Kimmy Mu2020-01-062-5/+5
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to develop * commit '0a2bb11b248df6841daabca3970df5d8504adfc7': address problems from comments fix and address comments change according to previous comments add missing piece remove unnecessary check macro fix intel compile warnings Revert "fix warnings from Intel compiler" Revert "fix warnings and some text alignment" Revert "let hdf5 pick up the right compiler in Intel environment" Revert "fix issues from previous PR comments" Revert "using a different MACRO" using a different MACRO fix issues from previous PR comments let hdf5 pick up the right compiler in Intel environment fix warnings and some text alignment fix warnings from Intel compiler
| | | * \ Merge branch 'develop' into bugfix/intel_warningskmu2019-12-092-9/+2
| | | |\ \ | | | | |/
| | | * | fix intel compile warningskmu2019-12-042-5/+5
| | | | |
| | | * | Revert "fix warnings from Intel compiler"kmu2019-11-262-5/+5
| | | | | | | | | | | | | | | | | | | | This reverts commit 8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466.
| | | * | fix warnings from Intel compilerkmu2019-11-072-5/+5
| | | | |
| | * | | Add MPI libs to standalone perfAllen Byrne2019-12-221-2/+2
| | | | |
| | * | | Correct flaws in test scripts and filesAllen Byrne2019-12-221-6/+8
| | | | |
| | * | | Standalone doesn't use h5test lib implementation.Allen Byrne2019-12-201-2/+3
| | | | |
| | * | | Remove duplicate instanceAllen Byrne2019-12-161-4/+0
| | | |/ | | |/|
| * | | fix unused related warningskmu2020-01-131-18/+18
| | | |