summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* `same_file` is assigned but never used. Delete it.David Young2019-11-131-8/+0
|
* Don't assign a constant string to a pointer to non-constant character.David Young2019-11-131-1/+1
|
* GCC isn't smart enough to realize that `fill_c` is always initializedDavid Young2019-11-131-1/+2
| | | | | and exclusively used in `datatype == H5T_COMPOUND` branches, so just initialize it at its declaration so that GCC doesn't warn.
* I'm not sure what the previous code was trying to do, casting an arrayDavid Young2019-11-131-2/+2
| | | | | | of `hsize_t`, `start`, to `long long`, but I think the way that I have rewritten it, it probably produces a more useful result? As a bonus, GCC has stopped warning about it.
* Quiet a warning about an unused variable. This code looks like itDavid Young2019-11-131-1/+1
| | | | | should be heavily restructured to avoid the use of globals like `pass`, but that's a project for another day and another person.
* Straggler from previous commit: build and link the new .c files where IDavid Young2019-11-131-1/+7
| | | | | moved some previously-static variables and functions that were causing unused-variable/function warnings.
* Make many warnings about H5T_copy() calls that discard const qualifiersDavid Young2019-11-132-2/+2
| | | | into a few warnings in H5T_copy() itself.
* Use FUNC_ENTER_STATIC_NOERR instead of FUNC_ENTER_STATIC for a functionDavid Young2019-11-131-1/+1
| | | | | that does not generate its own error, so GCC does not warn that err_occurred (or whatever it is called) is unused or set and unused.
* Explicitly initialize `type_flags`; the compiler does not realize thatDavid Young2019-11-131-2/+2
| | | | it is set before use by passing it as a reference to another function.
* Initialize a couple of return values to avoid used-before-set warnings.David Young2019-11-131-2/+2
|
* Initialize a couple of variables that the compiler does not realize areDavid Young2019-11-132-2/+2
| | | | initialized when they're passed by reference to functions.
* To quiet a warning, initialize some `struct timeval`s that the compilerDavid Young2019-11-131-2/+2
| | | | does not realize are always set before use by `gettimeofday`.
* Move some static functions and variables to .c files to avoid unusedDavid Young2019-11-134-54/+106
| | | | function/variable warnings.
* Delete unused variable.David Young2019-11-131-1/+0
|
* Change a signed variable to unsigned to avoid a warning about the signDavid Young2019-11-131-1/+1
| | | | being lost by a cast.
* Avoid unused-variable warnings: change static const strings in a coupleDavid Young2019-11-132-2/+2
| | | | of header-file templates to #defines.
* Demote errors to warnings for a couple of unused-but-set variables thatDavid Young2019-11-132-0/+7
| | | | I cannot untangle right now.
* Delete an unused variable.David Young2019-11-131-1/+0
|
* Mark an unused parameter H5_ATTR_UNUSED.David Young2019-11-131-1/+1
|
* Delete variables that are unused or set and unused.David Young2019-11-131-12/+0
|
* Initialize a variable before its first use.David Young2019-11-131-1/+1
|
* Format a pointer with %p to avoid a gripe about casting a pointer to anDavid Young2019-11-131-3/+2
| | | | integer.
* Merge remote-tracking branch 'hdf5/develop' into add-werror-and-squash-some toDavid Young2019-11-1242-326/+792
|\ | | | | | | see if new warnings-as-errors have cropped up.
| * Merge pull request #2027 in HDFFV/hdf5 from ~DYOUNG/hdf5:dsets-randomness to ↵David Young2019-11-121-32/+121
| |\ | | | | | | | | | | | | | | | | | | | | | develop * commit '4d834adba4aeb1a0174bddb83212b7073b64e269': Use HD prefix. Fix HDFFV-10937: use a more reliable (and probably faster) scheme for visiting all elements of a matrix in an arbitrary order.
| | * Use HD prefix.David Young2019-11-121-8/+8
| | |
| | * Fix HDFFV-10937: use a more reliable (and probably faster) scheme forDavid Young2019-10-281-32/+121
| | | | | | | | | | | | visiting all elements of a matrix in an arbitrary order.
| * | Merge pull request #2037 in HDFFV/hdf5 from ~NFORTNE2/hdf5_naf:develop to ↵Neil Fortner2019-11-122-1/+10
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | develop * commit 'e5fc4889fa4f412056a4672435c96c17a6d1a936': Fix issue where H5R__reopen_file did not make the file "post open" callback.
| | * | Fix issue where H5R__reopen_file did not make the file "post open"Neil Fortner2019-11-122-1/+10
| |/ / | | | | | | | | | callback.
| * | Merge pull request #2036 in HDFFV/hdf5 from ~DYOUNG/netbsd:develop to developDavid Young2019-11-126-5/+6
| |\ \ | | | | | | | | | | | | | | | | * commit 'f1b39ad80e2fc0d0f4f6ecae2a9fb0ea436c34cc': Apparently, + has no special meaning, and neither does \+, in so-called "obsolete" / POSIX "basic" regular expressions. Also, not every version of `sed` out there supports the `-E` option. So delete the -E flag and use the regex `[^/][^/]*` instead of `[^/]+`.
| | * | Apparently, + has no special meaning, and neither does \+, in so-calledDavid Young2019-11-126-5/+6
| |/ / | | | | | | | | | | | | | | | | | | | | | "obsolete" / POSIX "basic" regular expressions. Also, not every version of `sed` out there supports the `-E` option. So delete the -E flag and use the regex `[^/][^/]*` instead of `[^/]+`. Add config/netbsd to the MANIFEST.
| * | Merge pull request #2032 in HDFFV/hdf5 from ↵Neil Fortner2019-11-0834-289/+656
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | ~NFORTNE2/hdf5_naf:vlget_file_type to develop * commit '1dbec40d465072540f8507c524ae7b909a6b1cf0': Implement H5VLget_file_type() to return a copy of a datatype with the location set to be in a file. Only meant to be used by VOL connectors. Implement H5VLpeek_connector_id() to support connectors querying their own IDs. Fix app_ref with connector IDs in a couple places (external VOLs registered as default through ENV should be visible to the application). Modify vlen and reference interfaces to work with arbitrary VOL connectors. Implement file "post open" specific callback, to enable connectors to update their file structs after a wrap context has been set.
| | * | Implement H5VLget_file_type() to return a copy of a datatype with theNeil Fortner2019-11-0834-289/+656
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | location set to be in a file. Only meant to be used by VOL connectors. Implement H5VLpeek_connector_id() to support connectors querying their own IDs. Fix app_ref with connector IDs in a couple places (external VOLs registered as default through ENV should be visible to the application). Modify vlen and reference interfaces to work with arbitrary VOL connectors. Implement file "post open" specific callback, to enable connectors to update their file structs after a wrap context has been set.
* | | Merge remote-tracking branch 'hdf5/develop' into add-werror-and-squash-someDavid Young2019-11-0829-41/+275
|\ \ \ | |/ / | | | | | | to pick up the NetBSD-compatibility changes that I recently merged.
| * | Merge pull request #1984 in HDFFV/hdf5 from ~DYOUNG/netbsd:develop to developDavid Young2019-11-0529-41/+275
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0b721858e46a317c370a24115032d5be41688f67': Make these scripts relocatable again: derive a relative path for the original installation prefix from the examples prefix. Use that relative path to locate the current installation prefix, always. Fall back to an absolute installation prefix if the relative path cannot be derived. Get the path to prefix right: needs a ../ to back out of subdirectory c/. Make this script relocatable again: derive a relative path for the original installation prefix from the examples prefix. Use that relative path to locate the current installation prefix, always. Fall back to an absolute installation prefix if the relative path cannot be derived. Let us override the examples directory using --with-examplesdir=DIR. This is handy for NetBSD where HDF5 examples are installed by convention in $prefix/share/examples/hdf5/ rather than in ${prefix}/share/hdf5_examples/, which is the HDF5 default. Follow longstanding execv convention for compatibility with NetBSD. Under the examples directories, always find the installed HDF5 executables and scripts using @prefix@ instead of a relative path, because the number of ../ in the relative path will be different on NetBSD than on other systems. Make the HDF5 configure script grok NetBSD. For portability, insulate the HDF5 library from some system macros. Not every system has perl installed in /usr/bin/, so change the shebang (#!) line to `/usr/bin/env perl` to locate perl on the PATH. For portability, use the POSIX sh(1) string-comparison operator `=` instead of `==`.
| | * Make these scripts relocatable again: derive a relative path for theDavid Young2019-11-054-4/+97
| | | | | | | | | | | | | | | | | | | | | original installation prefix from the examples prefix. Use that relative path to locate the current installation prefix, always. Fall back to an absolute installation prefix if the relative path cannot be derived.
| | * Get the path to prefix right: needs a ../ to back out of subdirectoryDavid Young2019-11-051-1/+1
| | | | | | | | | | | | c/.
| | * Make this script relocatable again: derive a relative path for theDavid Young2019-11-051-2/+25
| | | | | | | | | | | | | | | | | | | | | original installation prefix from the examples prefix. Use that relative path to locate the current installation prefix, always. Fall back to an absolute installation prefix if the relative path cannot be derived.
| | * Let us override the examples directory using --with-examplesdir=DIR.David Young2019-10-0313-18/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is handy for NetBSD where HDF5 examples are installed by convention in $prefix/share/examples/hdf5/ rather than in ${prefix}/share/hdf5_examples/, which is the HDF5 default. Place hdf5_examples/ under ${datarootdir} which on most systems will be ${prefix}/share/, anyway.
| | * Follow longstanding execv convention for compatibility with NetBSD.David Young2019-10-031-1/+7
| | |
| | * Under the examples directories, always find the installed HDF5David Young2019-10-036-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | executables and scripts using @prefix@ instead of a relative path, because the number of ../ in the relative path will be different on NetBSD than on other systems. Examples on NetBSD are installed at ${prefix}/share/examples/hdf5/ instead of at ${prefix}/share/hdf5_examples/, by convention. It may be the same on other BSDs, I'm not sure.
| | * Make the HDF5 configure script grok NetBSD.David Young2019-10-032-0/+59
| | |
| | * For portability, insulate the HDF5 library from some system macros.David Young2019-10-031-1/+18
| | |
| | * Not every system has perl installed in /usr/bin/, so change the shebangDavid Young2019-10-0312-12/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#!) line to `/usr/bin/env perl` to locate perl on the PATH. Everything after the first pathname in the shebang line is treated as a single argument to the command interpreter (/usr/bin/env "perl -w"), and there is not ordinarily any such program as "perl -w". So if the old shebang line used an option such as `-w`, add a `use warnings;` statement to the script---note that the semantics change slightly. `bin/destdep` uses a trick to pass `-p` to `/usr/bin/env perl`. It couldn't hurt to use the same trick to pass `-w`. With these changes, `sh autogen.sh` runs on NetBSD. It ought to still work on every other system HDF5 supports, too.
| | * For portability, use the POSIX sh(1) string-comparison operator `=`David Young2019-10-031-2/+2
| | | | | | | | | | | | instead of `==`.
* | | Change some GCC warnings to errors. Fix code to quiet some warnings.David Young2019-11-0518-57/+149
|/ /
* | Merge pull request #2015 in HDFFV/hdf5 from HDFFV-10943 to developRichard Warren2019-10-254-14/+13
|\ \ | | | | | | | | | | | | | | | * commit '299c9ed5fe19edac37cab27bc04d587fa67568c2': Removed set_bigio_count prototype since it has been added to H5private.h Change API names for get/set bitio_count. Also added H5_mpi_set_bigio_count to H5private.h.
| * | Removed set_bigio_count prototype since it has been added to H5private.hRichard Warren2019-10-251-2/+0
| | |
| * | Change API names for get/set bitio_count. Also added H5_mpi_set_bigio_count ↵Richard Warren2019-10-234-13/+14
| | | | | | | | | | | | to H5private.h.
* | | Merge pull request #2016 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to developAllen Byrne2019-10-234-8/+15
|\ \ \ | |/ / |/| | | | | | | | * commit '9affb7f12ec6084ccaadec9fcdc8d94bccf4dd4f': Fix MPI test depends
| * | Fix MPI test dependsAllen Byrne2019-10-234-8/+15
|/ /