Skip to content
Snippets Groups Projects
Commit 02bc9bd1 authored by Fons Rademakers's avatar Fons Rademakers
Browse files

enable -Wshadow by default, to allow early detection of shadowing warning.

git-svn-id: http://root.cern.ch/svn/root/trunk@34156 27541ba8-7e3a-0410-8455-c3a389f83636
parent c1e7017d
No related branches found
No related tags found
No related merge requests found
......@@ -20,9 +20,9 @@ endif
# Compiler:
CXX = g++
CC = gcc
CXXFLAGS = -m32 -pipe -W -Wall -Woverloaded-virtual \
CXXFLAGS = -m32 -pipe -Wshadow -W -Wall -Woverloaded-virtual \
-fsigned-char -fno-common $(EXTRA_CXXFLAGS) $(FINK_CXXFLAGS)
CFLAGS = -m32 -pipe -W -Wall -fsigned-char -fno-common \
CFLAGS = -m32 -pipe -Wshadow -W -Wall -fsigned-char -fno-common \
$(EXTRA_CFLAGS) $(FINK_CFLAGS)
CINTCXXFLAGS = -m32 -pipe -W -Wall -Woverloaded-virtual \
-fsigned-char -fno-common $(EXTRA_CXXFLAGS) $(FINK_CXXFLAGS) \
......
......@@ -20,9 +20,9 @@ endif
# Compiler:
CXX = g++
CC = gcc
CXXFLAGS = -m64 -pipe -W -Wall -Woverloaded-virtual \
CXXFLAGS = -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual \
-fsigned-char -fno-common $(EXTRA_CXXFLAGS) $(FINK_CXXFLAGS)
CFLAGS = -m64 -pipe -W -Wall -fsigned-char -fno-common \
CFLAGS = -m64 -pipe -Wshadow -W -Wall -fsigned-char -fno-common \
$(EXTRA_CFLAGS) $(FINK_CFLAGS)
CINTCXXFLAGS = -m64 -pipe -W -Wall -Woverloaded-virtual \
-fsigned-char -fno-common $(EXTRA_CXXFLAGS) $(FINK_CXXFLAGS) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment