Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
5139f91b
Commit
5139f91b
authored
Jul 22, 2016
by
Ghislain MARY
Browse files
Enable strict-prototypes compilation errors.
parent
0f516ab1
Changes
1
Show 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 @
5139f91b
...
...
@@ -246,7 +246,7 @@ if(MSVC)
endif
()
else
()
list
(
APPEND STRICT_OPTIONS_CPP
"-Wall"
"-Wuninitialized"
"-Wno-error=deprecated-declarations"
)
list
(
APPEND STRICT_OPTIONS_C
"-Wdeclaration-after-statement"
"-Wstrict-prototypes"
"-W
no-
error=strict-prototypes"
)
list
(
APPEND STRICT_OPTIONS_C
"-Wdeclaration-after-statement"
"-Wstrict-prototypes"
"-Werror=strict-prototypes"
)
if
(
CMAKE_C_COMPILER_ID STREQUAL
"Clang"
)
list
(
APPEND STRICT_OPTIONS_CPP
"-Qunused-arguments"
"-Wno-array-bounds"
)
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