summaryrefslogtreecommitdiffstats
path: root/config/clang-flags
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers (#2184)Larry Knox2022-11-011-1/+0
| | | | | * Updated source file copyright headers to remove "Copyright by the Board of Trustees of the University of Illinois", which is kept in the top-level COPYING file.
* To reduce maintenance effort, delete the `noerror-` variants of the compiler ↵David Young2021-10-061-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | flags files (#1033) * Avoid maintenance headaches: delete the `noerror-` variants of the compiler flags files, since they essentially duplicate the `error-` files modulo the replacement of `-Werror=` with `-W` and any changes in comments. (I verified the duplication with a script.) For autoconf, reinstate the use of the `demote_errors` shell function to derive the `noerror-` content from the `error-` content. `demote_errors` replaces `-Werror=` with `-W` when `WARNINGS_AS_ERRORS` is `no`. Slightly reorder `configure.ac` so that the setting of `WARNINGS_AS_ERRORS` takes effect before the `error-` files are sourced. * Take a stab at updating the CMake files to match the changes I made to the autoconf files to remove `noerror-` files. I'm not much of a CMake user so these changes are quite rough. Looks like the duplication can be reduced with the introduction of a new macro. * Delete `noerror-` files from the MANIFEST. * Reduce duplication in the CMake files: perform the HDF5_ENABLE_WARNINGS_AS_ERRORS test once in the ADD_H5_FLAGS macro. * Add a release note.
* Update license url part2 (#333)Larry Knox2021-02-171-1/+1
| | | | | | * Modify temporary rpath for testing in java example scripts. * Update URL in source file Copyright headers for web copy of COPYING file - files not in src or test.
* Fix autotools clang debug optimization level w/ older clang and Xcode ↵Dana Robinson2020-12-021-2/+12
| | | | | | | | | | | | | | versions (#146) * Fixes clang debug optimization level w/ Autotools NOTE: This was only released in HDF5 1.10.7, so only the 1.10 branch needs a note in RELEASE.txt. * Updates the clang -Og setting with a version check w/ autotools * Sets -Og when clang >= 4.0 or Xcode >= 9.0 * Older versions get -O1 * Autotools only
* Fixes clang debug optimization level w/ Autotools (#141)Dana Robinson2020-11-301-1/+1
| | | | NOTE: This was only released in HDF5 1.10.7, so only the 1.10 branch needs a note in RELEASE.txt.
* Add else choice to error flags option (#128)Allen Byrne2020-11-251-0/+1
|
* Remove unnecessary version conditions for Clang compilers.Larry Knox2020-06-121-14/+3
|
* Update new clang files to not pick up clang as vendor for pgCC.Larry Knox2020-06-091-8/+5
| | | | | | 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.
* Add flags from config/clang-warnings/*general files to H5 C and CXX flags ↵Larry Knox2020-06-061-6/+2
| | | | | | | 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-021-0/+218
configure.