Network

 
AuthorCommitMessageCommit Date
Neil FortnerNeil Fortner
c7c302a64beReplace H5Sselect_adjust_u() and H5Shyper_adjust_s() with H5Sselect_adjust. Implement "adjust_s" callback for all selection types. Add range checking to H5Sselect_adjust().
Dana RobinsonDana Robinson
fcfc5700df0Trivial parameter renaming in VOL API calls.
David YoungDavid Young
10911a11767Oops, remove more C99 designated initializers for VS 2010 compatibility.
David YoungDavid Young
dffa21d2fb8Add an #include to get a function declaration.
David YoungDavid Young
c258fc10fc0Don't use C99 designated initializers, they're not compatible with Visual Studio 2010.
David YoungDavid Young
f77dbfe4acfQuiet some more maybe-uninitialized warnings---each is a false positive, *sigh*. This is more code that may not compile with VS2010, *sigh sigh*.
David YoungDavid Young
765ab7ee452Always 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.
David YoungDavid Young
0e7dffc0dd7Only 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.
David YoungDavid Young
9734b5993c4Only use -Werror=cast-function-type with GCC 8 and later.
David YoungDavid Young
1fed8986df2Put 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.
David YoungDavid Young
4a4f4b76cfcAdd new source files to CMakeLists.txt.
David YoungDavid Young
1fc21712996Mention the -Werror= flags in libhdf5.settings.in.
David YoungDavid Young
a7c153fff17free -> HDfree
David YoungDavid Young
312496013efPromote decleration-after-statement warnings to errors.
David YoungDavid Young
d1ceb04c5d8Quiet decleration-after-statement warnings.
David YoungDavid Young
34e51def7e1Move a statement under some declarations since some vintages of Visual Studio don't like declarations after statements.
David YoungDavid Young
902cb3e0d0dDocument H5D__chunk_mem_xfree_wrapper().
David YoungDavid Young
b1be318a62dUndo accidental test deletion.
David YoungDavid Young
3a65ddc936bOops, delete a debug printf that snuck in here.
David YoungDavid Young
9685e4fb64eUndo my changes to the HD macros, hadn't really intended those to be on this branch....
David YoungDavid Young
c30b30258d1Make 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.
David YoungDavid Young
2aa85f15eabCast to the parameter type, H5VL_token_t *, instead of to unsigned char *. (H5VL_token_t, too, probably should turn from a typedef for a constant-length array to an array encapsulated in a struct.)
David YoungDavid Young
224653db64cChange 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. An interesting side-effect that we probably should *not* rely on is that the struct-encapsulation changes the alignment so that some GCC warnings about casts that increase the alignment requirement of the operand go away. Warnings like that have to be taken...
David YoungDavid Young
386138daa3cIn every instance, `x` is initialized by `memcpy`, but GCC isn't smart enough to figure that out. Quiet some warnings by always initializing `x` to 0.
David YoungDavid Young
7605df3cf06`same_file` is assigned but never used. Delete it.
David YoungDavid Young
354fca5b59dDon't assign a constant string to a pointer to non-constant character.
David YoungDavid Young
cbd2e29914eGCC isn't smart enough to realize that `fill_c` is always initialized and exclusively used in `datatype == H5T_COMPOUND` branches, so just initialize it at its declaration so that GCC doesn't warn.
David YoungDavid Young
7638fbb258aI'm not sure what the previous code was trying to do, casting an array 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.
David YoungDavid Young
1132ed87bccQuiet a warning about an unused variable. This code looks like it should be heavily restructured to avoid the use of globals like `pass`, but that's a project for another day and another person.
David YoungDavid Young
6b80036fdecStraggler from previous commit: build and link the new .c files where I moved some previously-static variables and functions that were causing unused-variable/function warnings.
David YoungDavid Young
ad2b1fa0c58Explicitly initialize `type_flags`; the compiler does not realize that it is set before use by passing it as a reference to another function.
David YoungDavid Young
395d4f0716bInitialize a couple of return values to avoid used-before-set warnings.
David YoungDavid Young
1f7fdfe14cfInitialize a couple of variables that the compiler does not realize are initialized when they're passed by reference to functions.
David YoungDavid Young
ca0fcd34f33To quiet a warning, initialize some `struct timeval`s that the compiler does not realize are always set before use by `gettimeofday`.
David YoungDavid Young
0206b1055e0Move some static functions and variables to .c files to avoid unused function/variable warnings.
David YoungDavid Young
f7699a7be41Delete unused variable.
David YoungDavid Young
4440ccca7d6Change a signed variable to unsigned to avoid a warning about the sign being lost by a cast.
David YoungDavid Young
46ed46aa72cAvoid unused-variable warnings: change static const strings in a couple of header-file templates to #defines.
David YoungDavid Young
f089da9c15dDemote errors to warnings for a couple of unused-but-set variables that I cannot untangle right now.
David YoungDavid Young
ea084e6383aDelete an unused variable.
David YoungDavid Young
440bf2fc34eMark an unused parameter H5_ATTR_UNUSED.
David YoungDavid Young
72a8f38a9fcDelete variables that are unused or set and unused.
David YoungDavid Young
7b601c2611cInitialize a variable before its first use.
David YoungDavid Young
2b863a81194Change some GCC warnings to errors. Fix code to quiet some warnings.
Allen ByrneAllen Byrne
5069cbf96fcRemove unneeded flag overwrites
Chris HoganChris Hogan
ba7db398e0bAdd documentation for H5CX_get_ohdr_flags
Chris HoganChris Hogan
847a16dccc0Add object header flags to API context Add missing DCPL to API context state Replace a couple LCPL H5P_get calls with H5CX_get_*
Chris HoganChris Hogan
45f56375dcbUse major error code of calling package
Chris HoganChris Hogan
e5b0979bf74Handle H5CX_state_t for lcpl
Chris HoganChris Hogan
d596963eb9aAdd character encoding to lcpl context