diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-10 20:37:58 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-10 20:37:58 +0100 |
commit | 5271b9c6ecb3efe521e30c872ddf4553a7d95984 (patch) | |
tree | d399de805c9d9248bad041483ac8307e45f2a6ad /solenv | |
parent | 5e0e2517f9dbbd65474baccfcbda263a2ee8b9bd (diff) |
reduce noise, split c/c++ warnings flags
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/inc/unxgcc.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/solenv/inc/unxgcc.mk b/solenv/inc/unxgcc.mk index 2e6d66b8c92f..1446bf8bf033 100644 --- a/solenv/inc/unxgcc.mk +++ b/solenv/inc/unxgcc.mk @@ -133,10 +133,10 @@ CFLAGSNOOPT=-O0 CFLAGSOUTOBJ=-o # -Wshadow does not work for C with nested uses of pthread_cleanup_push: -CFLAGSWARNCC=-Wall -Wextra -Wendif-labels -CFLAGSWARNCXX=$(CFLAGSWARNCC) -Wshadow -Wno-ctor-dtor-privacy \ +CFLAGSWARNBOTH=-Wall -Wextra -Wendif-labels +CFLAGSWARNCC=$(CFLAGSWARNBOTH) -Wdeclaration-after-statement +CFLAGSWARNCXX=$(CFLAGSWARNBOTH) -Wshadow -Wno-ctor-dtor-privacy \ -Wno-non-virtual-dtor -CFLAGSWARNCC+=-Wdeclaration-after-statement CFLAGSWALLCC=$(CFLAGSWARNCC) CFLAGSWALLCXX=$(CFLAGSWARNCXX) CFLAGSWERRCC=-Werror -DLIBO_WERROR |