Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add -Werror to makefile
Warnings *are* errors here, as they'll be a real pain for library users.

Also rewrite -std=c++0x -> -std=c++11
  • Loading branch information
c42f committed Mar 25, 2016
1 parent 5abc03b commit 96de1a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -3,8 +3,8 @@
# Should work with recent versions of both gcc and clang. (To compile with
# clang use "make CXX=clang++".)

CXXFLAGS?=-Wall
CXX11FLAGS?=-std=c++0x
CXXFLAGS?=-Wall -Werror
CXX11FLAGS?=-std=c++11

test: tinyformat_test_cxx98 tinyformat_test_cxx11
@echo running tests...
Expand Down

0 comments on commit 96de1a1

Please sign in to comment.