diff options
author | Marcel Raad <Marcel.Raad@teamviewer.com> | 2018-07-07 09:00:29 +0200 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2018-08-21 18:53:46 +0200 |
commit | 014ed7c22f51463dfbf4566d9d2d7fe959a392ad (patch) | |
tree | 26aeca65934f5bcdd487eaa7e764911fb795b2a6 /lib/vtls/gtls.c | |
parent | 15ed9f87e3a1f91bd7b4a5291edf268b843e5987 (diff) |
Enable more GCC warnings
This enables the following additional warnings:
-Wold-style-definition
-Warray-bounds=2 instead of the default 1
-Wformat=2, but only for GCC 4.8+ as Wno-format-nonliteral is not
respected for older versions
-Wunused-const-variable, which enables level 2 instead of the default 1
-Warray-bounds also in debug mode through -ftree-vrp
-Wnull-dereference also in debug mode through
-fdelete-null-pointer-checks
Closes https://github.com/curl/curl/pull/2747
Diffstat (limited to 'lib/vtls/gtls.c')
0 files changed, 0 insertions, 0 deletions