Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
titan
Project
Project
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
fangzongwu
titan
Commits
c6b93a63
Commit
c6b93a63
authored
Nov 04, 2019
by
yiwu-arbug
Committed by
pingcap-github-bot
Nov 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Relax warnings as errors so we can build on Clang 11 (#90)" (#102)
parent
d4cb98cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
.travis.yml
.travis.yml
+1
-1
rocksdb_flags.cmake
cmake/rocksdb_flags.cmake
+1
-6
No files found.
.travis.yml
View file @
c6b93a63
...
...
@@ -6,7 +6,7 @@ os:
-
linux
-
osx
compiler
:
clang
osx_image
:
xcode1
0
.2
osx_image
:
xcode1
1
.2
addons
:
apt
:
...
...
cmake/rocksdb_flags.cmake
View file @
c6b93a63
...
...
@@ -143,13 +143,8 @@ option(FAIL_ON_WARNINGS "Treat compile warnings as errors" ON)
if
(
FAIL_ON_WARNINGS
)
if
(
MSVC
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
/WX"
)
else
()
else
()
# assume GCC
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-Werror"
)
if
(
"
${
CMAKE_CXX_COMPILER_ID
}
"
MATCHES
"Clang"
)
if
(
CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 11
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-Wno-error=shadow -Wno-error=defaulted-function-deleted"
)
endif
()
endif
()
endif
()
endif
()
...
...
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