Commit Graph

14 Commits

Author SHA1 Message Date
Larry Knox
22b61f470a 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 21:33:13 -05:00
Allen Byrne
f965a24db1 TRILAB-244 separate CXX warnings and errors from C 2020-04-27 11:04:55 -05:00
Larry Knox
1862abdd05 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 19:36:40 -05:00
Allen Byrne
aac7605be0 TRILAB-192 - cleanup edits and match CMake CXX to autotools 2020-04-13 08:43:10 -05:00
Larry Knox
142496ad74 Add missing " and update function calls incorrectly
named load_gcc_arguments.
Commit changes to gnu-cxxflags to remove unmatched " and to gnu-fflags
to not add C warnings flags to H5_FCFLAGS.
2020-04-12 18:55:08 -05:00
Allen Byrne
f502d9f7fb TRILAB-192 - merge changes from develop
Single source, config files, for warnings for both autotools and CMake.
Update CMake libraries, tools, tests to use correct flags.
2020-04-07 09:52:09 -05:00
lrknox
25ec07450a Change copyright headers to replace url referring to file to be removed
and replace it with new url for COPYING file.

Fix 2 lines in java error test expected output file where messages
include line numbers changed by reducing the copyright header by 2
lines.
2017-04-14 11:54:16 -05:00
Quincey Koziol
60aebe36b6 [svn-r30015] Description:
Update GNU compiler flags for 6.x release.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-05 18:20:48 -05:00
Dana Robinson
f50629ed52 [svn-r29793] Removed -Waggregate-return from gnu C++ flags.
This flag generates a large number of warnings and is considered obsolete
since its primary purpose seems to have been to support ancient compilers
that could not return an aggregate.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           Autotools serial w/ C++
2016-04-25 11:35:40 -05:00
Dana Robinson
b18aaf39f0 [svn-r29332] Removed -Wunreachable-code from the gnu C++ flags.
This flag generates a large number of spurious warnings in our code
so we've disabled it for now.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ C++
2016-03-07 22:27:46 -05:00
Dana Robinson
b99b5d494e [svn-r29325] Removed -Wmissing-declarations from the gnu C++ flags. It's not used for C++.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ C++
2016-03-07 16:35:51 -05:00
Dana Robinson
5fabfb6079 [svn-r29312] Removed -Wnonnull from the gnu C++ flags. It's not used for C++.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ C++
2016-03-07 11:58:11 -05:00
Dana Robinson
77f2f1c132 [svn-r29131] Updated the GNU g++ compiler config file to use the new debug/
production, etc. system.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial - prod/debug w/ C++
2016-02-16 21:16:27 -05:00
Dana Robinson
20a3462089 [svn-r28977] Added autotools g++ compiler flags/warnings file to config/
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ C++
2016-01-27 01:23:40 -05:00