+ fixed a bug in the stream input
This commit is contained in:
parent
15a9d3cff6
commit
4e44390090
4 changed files with 20 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
|||
noinst_PROGRAMS = json_unit
|
||||
noinst_PROGRAMS = json_unit json_parser
|
||||
|
||||
FLAGS = -Wall -Wextra -pedantic -Weffc++ -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-optimization -Wformat=2 -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-conversion -Wsign-promo -Wstrict-overflow=5 -Wswitch -Wundef -Wno-unused -Wnon-virtual-dtor -Wreorder
|
||||
|
||||
|
|
@ -6,6 +6,10 @@ json_unit_SOURCES = src/JSON.cc src/JSON.h test/catch.hpp test/JSON_unit.cc
|
|||
json_unit_CXXFLAGS = $(FLAGS) -std=c++11
|
||||
json_unit_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/test -Dprivate=public
|
||||
|
||||
json_parser_SOURCES = src/JSON.cc src/JSON.h benchmark/parse.cc
|
||||
json_parser_CXXFLAGS = $(FLAGS) -std=c++11
|
||||
json_parser_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/benchmark
|
||||
|
||||
cppcheck:
|
||||
cppcheck --enable=all --inconclusive --std=c++11 src/JSON.*
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue