summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings/error-general
Commit message (Collapse)AuthorAgeFilesLines
* Re-promote some GNU warnings to errors (#1508)David Young2022-05-061-33/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Promote some GCC warnings back to errors and deal with build breakage. I tested configuring and building with GCC 8.3.0 with `.../configure --prefix=$HOME/wrk/install/manydsets --enable-build-mode=production --enable-symbols=-gdwarf-4 --enable-warnings-as-errors --enable-java --enable-hl --enable-fortran --enable-cxx --enable-mirror-vfd --enable-ros3-vfd --enable-direct-vfd` and with the same options but `--enable-build-mode=debug`. * Promote -Wrestrict to -Werror=restrict to help catch overlapping arguments to strcpy, memcpy, et cetera, at compile time. * NFCI: sort lines. * Committing clang-format changes * NFCI: remove whitespace at EOL. * Re-use temporary variable `shared`. * Remove merge oopsie. * Mention that no op codes are understood per review comment. * Change this back to the develop branch's way, since this change isn't integral to the PR. * Committing clang-format changes * NFCI: reduce differences with `develop` branch in the hope that that also kicks off CI. Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Dana Robinson <43805+derobins@users.noreply.github.com>
* Move -Werror=int-conversion from error-general to error-5 in (#1194)Larry Knox2021-11-141-1/+0
| | | gnu-warnings (unrecognized command line option for gcc 4.85/4.93.
* Make it an error if the library implicitly converts from integer to (#1165)David Young2021-11-131-0/+2
| | | | | pointer or from pointer to integer (-Werror=int-conversion). Also, make it an error if the library explicitly converts to pointer from an integer of a different size (-Werror=int-to-pointer-cast).
* Removed mentions of Wdeclaration-after-statement now that C99 is requ… (#447)Sean McBride2021-05-031-1/+0
| | | | | | | * Removed mentions of Wdeclaration-after-statement now that C99 is required * Remove -Werror=declaration-after-statement from error-general file. Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Promote format-string warnings to errors.David Young2020-07-071-1/+1
|
* Reorg commentsAllen Byrne2020-03-251-4/+22
|
* Correct warning flag formAllen Byrne2020-03-251-1/+1
|
* Because of tools macro, this needs to be a warningAllen Byrne2020-03-251-1/+3
|
* Fix Werror issues in JNI and toolsAllen Byrne2020-03-241-3/+1
|
* TRILAB-192 restrict extensive warnings to librariesAllen Byrne2020-03-241-34/+27
|
* TRILAB-192 Identify warnings that fail as errorsAllen Byrne2020-03-241-10/+66
|
* Move the GNU warnings configuration under config/gnu-warnings/ and trimDavid Young2020-03-191-0/+24
the filename prefixes. Update config/gnu-flags to suit. I also made changes to config/cmake/HDFCompilerFlags.cmake, but I'm not sure they're correct.