Larry Knox
77efb340a1
Make changes to CMake CompilerFlags.cmake files so extra flags are
...
loaded for non-GNU compilers.
2020-06-10 14:25:10 -05:00
Larry Knox
fcd87d2569
Revise gnu-*flags and cmake/HDF*CompilerFlags.cmake files to add warning
...
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.
2020-05-18 14:28:51 -05:00
Allen Byrne
ae9dc2d5f9
Restrict errors to gcc 4.8 and above.
2020-04-24 16:25:51 -05:00
Larry Knox
43424a1392
Add missing ')'.
2020-04-23 13:19:15 -05:00
Larry Knox
d965e53cc0
Move macro ADD_H5_CFLAGS to cmake_ext_mod/HDFMacros.cmake and remove
...
duplicate versions.
2020-04-22 10:42:32 -05:00
Larry Knox
5a010aace9
Address PR suggestions and add overlooked GCC compiler version flags.
2020-04-22 09:43:15 -05:00
Larry Knox
5c87b06d9d
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.
2020-04-20 16:03:08 -05:00
Allen Byrne
e68848f397
TRILAB-192 - cleanup edits and match CMake CXX to autotools
2020-04-13 08:16:57 -05:00
Allen Byrne
f8d8a96eb7
Correct improper file move
2020-04-06 09:38:43 -05:00
Allen Byrne
0d701b9ff8
Move intel warnings to subfolder, update autotools files
2020-04-06 09:35:43 -05:00
Allen Byrne
2c2627e7f6
Flag construction must be after compiler detection
2020-04-05 13:38:04 -05:00
Allen Byrne
57f5d00a43
TRILAB-192 add c++ and fortran warnings build systems one file
2020-04-05 10:50:08 -05:00
Allen Byrne
0da53027d9
TRILAB-192 add comparable clang flags
2020-03-27 17:10:53 -05:00
Allen Byrne
1505fa1498
TRILAB-192 restrict extensive warnings to libraries
2020-03-24 16:45:12 -05:00
Allen Byrne
19c47b244b
Correct syntax
2020-03-23 16:57:15 -05:00
Allen Byrne
d9a5a49e65
Update CMake compiler flags to use same set of warnings
2020-03-23 15:10:33 -05:00
David Young
2f09d8f3c8
Move the GNU warnings configuration under config/gnu-warnings/ and trim
...
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.
2020-03-18 21:12:53 -05:00
Allen Byrne
a68302883a
TRILAB-148 fix sanitizer and -fsanitize usage
2020-02-12 09:42:23 -06:00
Allen Byrne
5b92b4d362
Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
...
* commit '590aaff33046df99a4d88ba59e4b461e060b36e4':
Optimized the floating point comparisons a little bit.
Fix for failing h5diff tests involving floating-point compares.
Removed H5_DEC_ENUM
Revert "Revert "Moved -Wunsuffixed-float-constants to the developer warnings.""
Revert "Moved -Wunsuffixed-float-constants to the developer warnings."
Moved -Wunsuffixed-float-constants to the developer warnings.
Fixed a bug in testpar/t_cache.c concerning checking expected vs. actual cache entry reads and writes.
2020-01-24 09:57:39 -06:00
Dana Robinson
492d186a5c
Revert "Revert "Moved -Wunsuffixed-float-constants to the developer warnings.""
...
This reverts commit 6486e06545 .
2020-01-23 14:40:47 -08:00
Allen Byrne
cf84882b3c
Create common build system files for warnings
2020-01-17 13:14:06 -06:00
Dana Robinson
1a50056daf
Changed -Wformat-truncation to level 2 in CMake w/ gcc.
2020-01-01 10:18:56 -08:00
Dana Robinson
1ad02a4459
Yanked -Wc++-compat from the flags used to build the C library in both
...
the Autotools and CMake.
2019-12-04 00:49:52 -08:00
Allen Byrne
8e686c8211
Correct HDF5 options to tristate values.
2019-09-17 15:43:27 -05:00
Allen Byrne
b477f9bcc7
HDFFV-10901 add missing config options
2019-09-13 11:34:00 -05:00
Dana Robinson
4cd461168e
Fixed warning typo
2019-08-04 09:12:43 -07:00
Quincey Koziol
7509c2c4fc
Added GCC9 flags to CMake build
2019-07-02 23:49:35 -05:00
Quincey Koziol
d5130bb573
Updated configure & CMake compiler flags for GCC 8.x, along with corresponding
...
changes to warnhist script (and some extra improvements for condensing C++
and Java warnings), and fixed a bunch of warnings.
2019-06-28 09:10:43 -05:00
Quincey Koziol
17ae909178
Update GCC 6 & 7 flags for CMake builds
2019-06-22 19:34:47 -05:00
Allen Byrne
6f6d0921c0
Use c99 standard cmake variable
2019-01-02 17:07:37 -06:00
Allen Byrne
3209d1278f
TRILAB-21 Intel flags
2018-10-02 18:13:21 -05:00
Allen Byrne
454b04176a
Update cmake warnings to match the autotools files better
2018-08-16 15:45:31 -05:00
Allen Byrne
72931507f9
ifdef around std flag for cygwin
2018-07-18 09:39:13 -05:00
Allen Byrne
6c82c49dd5
TRILABS-20 set a compiler name on all project commands
2018-04-20 10:11:55 -05:00
Allen Byrne
6aee1578c3
HDFFV-10398 msvc: use /W0 rather than /w
2018-01-30 12:46:23 -06:00
Allen Byrne
608a71200d
HDFFV-10385 rename vars and macros
2018-01-19 10:49:17 -06:00
Allen Byrne
0f5ada2e08
HDFFV-10385 Refactor out CMAKE_BUILD_TYPE usage
2018-01-18 16:55:01 -06:00
Allen Byrne
19c18e44ed
Revert CMAKE_BUILD_TYPE for matches - need to redesign
2018-01-12 14:17:04 -06:00
Allen Byrne
be42e04791
HDFFV-10385 refactor CMAKE_BUILD_TYPE usage
2018-01-09 09:56:28 -06:00
Larry Knox
89fbe00dec
Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
...
* commit '54957d37f5aa73912763dbb6e308555e863c43f4':
Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes.
Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh.
Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
2017-04-25 16:05:36 -05:00
Allen Byrne
110073450f
Add unused -parameters to developer group.
2017-01-13 13:55:24 -06:00
Allen Byrne
8ad55c1775
Add addition hint info about option
2017-01-13 13:00:44 -06:00
Allen Byrne
6616131ce2
Update developer flags to account for gcc version
2017-01-12 14:00:50 -06:00
Allen Byrne
5d09c3d28d
Move Windows level 4 warnings to developer option
2017-01-12 12:41:50 -06:00
Allen Byrne
e1bcae8a6a
Update cmake min version and cmake command convention
2017-01-10 17:10:03 -06:00
Dana Robinson
8de50ab664
[svn-r28463] Merge of -r28460 from revise_chunks. Removes -std=c99 from
...
C++ flags under CMake.
Tested on: Ubuntu 15.10 (x86_64 Linux 4.2.0)
gcc 5.2.1, CMake 3.3.2
2015-11-24 14:29:21 -05:00
Allen Byrne
8bbe712961
[svn-r27364] Add Mac Framework support
2015-07-09 11:56:16 -05:00
Allen Byrne
8060c37ef4
[svn-r27087] Add changes for debug flags
2015-05-15 09:38:38 -05:00
Allen Byrne
37a07df7b4
[svn-r27064] HDFFV-9327: Refactor compiler flags to config file.
...
Tested: local linux
2015-05-14 11:51:20 -05:00