diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2016-07-10 18:19:18 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2016-07-10 18:19:18 -0700 |
commit | 1d3befeaf8c278a9f70286f9eeaa045f9feef306 (patch) | |
tree | a9c8bb022d0d7b5e2f7e3e1bbe970f50de1cd3ad /Makefile | |
parent | 4dbb5646196a4a3cc94097f1473ef11d1d44df11 (diff) |
Makefile: Add -Wcast-qual
It is probably redundant given that we have -Wold-style-cast, but it's better
to warn about casts like this in case we ever need to remove the latter flag.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ EXECUTABLE=$(BUILD)/test VERSION=$(shell sed -n 's/.*version \(.*\).*/\1/p' src/pugiconfig.hpp) RELEASE=$(shell git ls-files src docs/*.html docs/*.css docs/samples docs/images scripts contrib CMakeLists.txt readme.txt) -CXXFLAGS=-g -Wall -Wextra -Werror -pedantic -Wundef -Wshadow -Wold-style-cast -Wcast-align +CXXFLAGS=-g -Wall -Wextra -Werror -pedantic -Wundef -Wshadow -Wcast-align -Wcast-qual -Wold-style-cast LDFLAGS= ifeq ($(config),release) |