summaryrefslogtreecommitdiffstats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2650 in HDFFV/hdf5 from ↵David Young2020-09-282-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~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. ...
| * Merge remote-tracking branch 'hdffv/develop' into rebased-fprintf-experimentDavid Young2020-09-272-4/+151
| |\
| * \ Merge remote-tracking branch 'hdffv/develop' into rebased-fprintf-experimentDavid Young2020-09-252-1/+13
| |\ \
| * | | Test the format string "ll" before "l", "L", and "q", like theDavid Young2020-09-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ./configure script does. This ought to fix the compilation failure in test/dt_arith.c that Allen told me about: /home/buildbot/bb-workers/centos8-vm01/hdf5trunk-StdShar-code-centos8/build/hdfsrc/test/dt_arith.c: In function ‘test_conv_int_1’: /home/buildbot/bb-workers/centos8-vm01/hdf5trunk-StdShar-code-centos8/build/hdfsrc/test/dt_arith.c:2500:34: error: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Werror=format=] HDfprintf(stdout," %29"H5_PRINTF_LL_WIDTH"d\n", *((long long*)aligned));
| * | | Merge remote-tracking branch 'hdffv/develop' into rebased-fprintf-experimentDavid Young2020-09-037-3/+41
| |\ \ \
| * \ \ \ Merge remote-tracking branch 'hdffv/develop' into rebased-fprintf-experimentDavid Young2020-07-303-2/+4
| |\ \ \ \
| * \ \ \ \ Merge branch 'rebased-fprintf-experiment' into fprintf-developDavid Young2020-07-091-1/+1
| |\ \ \ \ \
| | * | | | | Promote format-string warnings to errors.David Young2020-07-071-1/+1
| | | | | | |
* | | | | | | Remove setting from cacheinit fileAllen Byrne2020-09-281-2/+0
| | | | | | |
* | | | | | | OESS-98 merge with clang-format changesAllen Byrne2020-09-256-2/+305
| |_|_|_|_|/ |/| | | | |
* | | | | | Merge pull request #2882 in HDFFV/hdf5 from ↵Allen Byrne2020-09-252-4/+151
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~BYRN/hdf5_adb:feature/cmakeV2-clang-format to develop * commit '571a5e9250ca69adb54ef956361a5cf77059f67c': Add h5ls test plugin format target Fix manifest Add code owners file Update actions - split push/pull-request commits Change to executable Change to based on LLVM format Fix comment formatting due to tabs conversion Disable formatting for file File changes to affect formatting CMake and script changes for clang-format
| * | | | | CMake and script changes for clang-formatAllen Byrne2020-09-042-4/+151
| | | | | |
* | | | | | Fix memory sanity check option in CMakeJordan Henderson2020-09-231-1/+1
|/ / / / /
* | | | | Add zllib and szip pagesAllen Byrne2020-09-041-0/+12
| |_|_|/ |/| | |
* | | | MinGW uses "MinGW Makefiles"Allen Byrne2020-08-261-1/+6
| | | |
* | | | Fixes CMake issue with file locking variableDana Robinson2020-08-181-1/+1
| | | |
* | | | Removes unsuffixed float warningsDana Robinson2020-08-073-2/+3
| | | | | | | | | | | | | | | | These warnings can only be addressed with gnu extensions.
* | | | Squash merge of file locking fixesDana Robinson2020-08-033-0/+32
| |_|/ |/| |
* | | Tools refactorAllen Byrne2020-07-152-2/+1
| | | | | | | | | | | | | | | | | | Move error_stack setup to tools library Add structure for h5dump properties Eliminate duplicated h5diff functions Use properties structure in place of argument lists.
* | | HDFFV-11116 Add option for install location of Fortran MOD filesAllen Byrne2020-07-091-0/+3
|/ /
* | Fixes Autotools builds on Solaris after monotonic timer changesDana Robinson2020-07-071-5/+16
|/ | | | | | | | clock_gettime() wasn't being found, so some configure changes were needed to set an appropriate POSIX level and use a C99 compiler. This required several compiler flag changes. Autotools only
* Small changes discovered with mingw and windows defines movedAllen Byrne2020-07-021-1/+1
|
* Clean up warningsQuincey Koziol2020-06-282-6/+0
|
* Refactor code to remove remaining checks for H5_HAVE_GETTIMEOFDAY scattered ↵Quincey Koziol2020-06-272-4/+0
| | | | around in various places. Also clean up iopipe.c.
* Remove unnecessary version conditions for Clang compilers.Larry Knox2020-06-122-28/+6
|
* Add c++ to --enable-sanitize-checks option.buildbot2020-06-101-1/+1
|
* Make changes to CMake CompilerFlags.cmake files so extra flags areLarry Knox2020-06-104-60/+35
| | | | loaded for non-GNU compilers.
* Update new clang files to not pick up clang as vendor for pgCC.Larry Knox2020-06-093-18/+17
| | | | | | Add new files to MANIFEST Temporary demotion of 2 -Werror warning flags that fail on macos 10.12 Remove Production flag unknown to Apple clang.
* Clean up code to get clang version in config/linux-gnulibc1Larry Knox2020-06-081-7/+6
|
* Add flags from config/clang-warnings/*general files to H5 C and CXX flags ↵Larry Knox2020-06-065-75/+5
| | | | | | | for all versions of Clang and Clang++ compilers. Switched from cut to awk in testcheck_version.sh.in to avoid dependence on tab vs. " " in version definitions in H5public.h.
* Add files for adding warning flags for clang compilers in autotoolsLarry Knox2020-06-027-1/+524
| | | | configure.
* Removed trailing space from Fortran files.Dana Robinson2020-05-261-1/+1
|
* Revise gnu-*flags and cmake/HDF*CompilerFlags.cmake files to add warningLarry Knox2020-05-1829-350/+99
| | | | | | | flags for GCC compilers version 4.8 and above. Removed files from gnu-warnings that only apply to versions < 4.8. Consolidated warnings from versions < 4.8 that apply to versions >= 4.8 into the 4.8 warnings files.
* Correct mingw pathsAllen Byrne2020-05-152-7/+11
|
* Correct path for mingwAllen Byrne2020-05-151-2/+2
|
* Correct filenameAllen Byrne2020-05-081-7/+7
|
* Change to use aliasAllen Byrne2020-05-081-1/+1
|
* OESS-65 fix packaging config filesAllen Byrne2020-05-083-3/+3
|
* Merge pull request #2542 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:warning_fixes ↵Dana Robinson2020-04-271-0/+4
|\ | | | | | | | | | | | | to develop * commit 'c3367e6634d4dee88ff855da08e312f6685c23af': Moved -Woverlength-strings to the developer flags.
| * Moved -Woverlength-strings to the developer flags.Dana Robinson2020-04-261-0/+4
| |
* | Restrict errors to gcc 4.8 and above.Allen Byrne2020-04-242-2/+6
|/
* Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)Allen Byrne2020-04-239-49/+118
|\ | | | | | | | | * commit '8921d12c56960379c7d84584e42bbaf68b30e142': TRILAB-244 separate CXX warnings and errors from C
| * TRILAB-244 separate CXX warnings and errors from CAllen Byrne2020-04-239-49/+118
| |
* | Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)Allen Byrne2020-04-237-102/+104
|\ \ | |/ | | | | | | | | | | | | | | * commit '5ea58acf8a2bdf8ca19d4c86d9ef94fbc4ac449f': Add missing ')'. Add C++ warnings treated as error for autotools builds. Move macro ADD_H5_CFLAGS to cmake_ext_mod/HDFMacros.cmake and remove duplicate versions. Address PR suggestions and add overlooked GCC compiler version flags. Don't add general warnings flags for unsupported old versions of gcc and g++ (older than gcc/g++ 4.2). Correct gnu-cxxflags to determine warnings flags to be added based on C++ compiler version instead of C compiler version.
| * Merge pull request #2525 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to developLarry Knox2020-04-237-102/+104
| |\ | | | | | | | | | | | | | | | | | | | | | | | | * commit '43424a1392b662a29542bb70014c253162ccfe48': Add missing ')'. Add C++ warnings treated as error for autotools builds. Move macro ADD_H5_CFLAGS to cmake_ext_mod/HDFMacros.cmake and remove duplicate versions. Address PR suggestions and add overlooked GCC compiler version flags. Don't add general warnings flags for unsupported old versions of gcc and g++ (older than gcc/g++ 4.2). Correct gnu-cxxflags to determine warnings flags to be added based on C++ compiler version instead of C compiler version.
| | * Add missing ')'.Larry Knox2020-04-231-1/+1
| | |
| | * Add C++ warnings treated as error for autotools builds.Larry Knox2020-04-231-1/+1
| | |
| | * Move macro ADD_H5_CFLAGS to cmake_ext_mod/HDFMacros.cmake and removeLarry Knox2020-04-224-54/+18
| | | | | | | | | | | | duplicate versions.
| | * Address PR suggestions and add overlooked GCC compiler version flags.Larry Knox2020-04-222-19/+45
| | |
| | * Don't add general warnings flags for unsupported old versions of gcc andLarry Knox2020-04-204-41/+53
| | | | | | | | | | | | | | | | | | g++ (older than gcc/g++ 4.2). Correct gnu-cxxflags to determine warnings flags to be added based on C++ compiler version instead of C compiler version.