Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
json
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
json
Commits
c7878173
Unverified
Commit
c7878173
authored
Mar 29, 2019
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🔨
minor changes to maintainer targets
parent
b52c3638
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
Makefile
Makefile
+11
-12
No files found.
Makefile
View file @
c7878173
...
@@ -97,36 +97,35 @@ doctest:
...
@@ -97,36 +97,35 @@ doctest:
##########################################################################
##########################################################################
# calling Clang with all warnings, except:
# calling Clang with all warnings, except:
# -Wno-c++2a-compat: u8 literals will behave differently in C++20...
# -Wno-deprecated-declarations: the library deprecated some functions
# -Wno-documentation-unknown-command: code uses user-defined commands like @complexity
# -Wno-documentation-unknown-command: code uses user-defined commands like @complexity
# -Wno-exit-time-destructors: warning in Catch code
# -Wno-exit-time-destructors: warning in Catch code
# -Wno-float-equal: not all comparisons in the tests can be replaced by Approx
# -Wno-keyword-macro: unit-tests use "#define private public"
# -Wno-keyword-macro: unit-tests use "#define private public"
# -Wno-deprecated-declarations: the library deprecated some functions
# -Wno-padded: padding is nothing to warn about
# -Wno-weak-vtables: exception class is defined inline, but has virtual method
# -Wno-range-loop-analysis: items tests "for(const auto i...)"
# -Wno-range-loop-analysis: items tests "for(const auto i...)"
# -Wno-float-equal: not all comparisons in the tests can be replaced by Approx
# -Wno-switch-enum -Wno-covered-switch-default: pedantic/contradicting warnings about switches
# -Wno-switch-enum -Wno-covered-switch-default: pedantic/contradicting warnings about switches
# -Wno-c++2a-compat: u8 literals will behave differently in C++20...
# -Wno-weak-vtables: exception class is defined inline, but has virtual method
# -Wno-padded: padding is nothing to warn about
pedantic_clang
:
pedantic_clang
:
$(MAKE)
json_unit
CXX
=
$(COMPILER_DIR)
/clang++
CXXFLAGS
=
"
\
$(MAKE)
json_unit
CXX
=
$(COMPILER_DIR)
/clang++
CXXFLAGS
=
"
\
-std=c++11 -Wno-c++98-compat -Wno-c++98-compat-pedantic
\
-std=c++11 -Wno-c++98-compat -Wno-c++98-compat-pedantic
\
-Werror
\
-Werror
\
-Weverything
\
-Weverything
\
-Wno-c++2a-compat
\
-Wno-deprecated-declarations
\
-Wno-documentation-unknown-command
\
-Wno-documentation-unknown-command
\
-Wno-exit-time-destructors
\
-Wno-exit-time-destructors
\
-Wno-float-equal
\
-Wno-keyword-macro
\
-Wno-keyword-macro
\
-Wno-deprecated-declarations
\
-Wno-padded
\
-Wno-weak-vtables
\
-Wno-range-loop-analysis
\
-Wno-range-loop-analysis
\
-Wno-float-equal
\
-Wno-switch-enum -Wno-covered-switch-default
\
-Wno-switch-enum -Wno-covered-switch-default
\
-Wno-c++2a-compat
\
-Wno-weak-vtables"
-Wno-c++17-extensions
\
-Wno-padded"
# calling GCC with most warnings
# calling GCC with most warnings
pedantic_gcc
:
pedantic_gcc
:
$(MAKE)
json_unit
CXX
=
$(COMPILER_DIR)
/g++
CXXFLAGS
=
"
\
$(MAKE)
json_unit
CXX
=
$(COMPILER_DIR)
/g++
CXXFLAGS
=
"
-D_Atomic=volatile
\
-std=c++11
\
-std=c++11
\
-Waddress
\
-Waddress
\
-Waddress-of-packed-member
\
-Waddress-of-packed-member
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment