Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
2bdc9859
Commit
2bdc9859
authored
May 19, 2017
by
Tsukasa OMOTO
Committed by
Guolin Ke
May 19, 2017
Browse files
Add -Wextra to compile options (#530)
parent
ff1a711c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
2bdc9859
...
@@ -54,7 +54,7 @@ if(USE_GPU)
...
@@ -54,7 +54,7 @@ if(USE_GPU)
endif
(
USE_GPU
)
endif
(
USE_GPU
)
if
(
UNIX OR MINGW OR CYGWIN
)
if
(
UNIX OR MINGW OR CYGWIN
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-pthread -O3 -Wall -std=c++11 -Wno-ignored-attributes"
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-pthread -O3
-Wextra
-Wall -std=c++11 -Wno-ignored-attributes"
)
endif
()
endif
()
if
(
MSVC
)
if
(
MSVC
)
...
...
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