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
belle-sip
Commits
cea1e814
Commit
cea1e814
authored
Jul 17, 2017
by
jehan
Browse files
fix gcc4.7 compilation issue
parent
dfe818b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
CMakeLists.txt
CMakeLists.txt
+2
-2
No files found.
CMakeLists.txt
View file @
cea1e814
############################################################################
# CMakeLists.txt
# Copyright (C) 2014 Belledonne Communications, Grenoble France
#
...
...
@@ -178,7 +178,7 @@ else()
endif
()
if
(
ENABLE_STRICT
)
list
(
APPEND STRICT_OPTIONS_CPP
"-Werror"
"-Wextra"
"-Wno-unused-parameter"
"-Wno-error=unknown-pragmas"
"-Wuninitialized"
"-fno-strict-aliasing"
)
list
(
APPEND STRICT_OPTIONS_C
"-Wdeclaration-after-statement"
"-Wstrict-prototypes -Wno-missing-field-initializers"
)
list
(
APPEND STRICT_OPTIONS_C
"-Wdeclaration-after-statement"
"-Wstrict-prototypes -Wno-missing-field-initializers"
"-Wno-error=unused-result"
)
endif
()
# this warning is generated by antlr so ignore it for now
list
(
APPEND STRICT_OPTIONS_C
"-Wno-strict-prototypes"
"-Wno-error=sign-compare"
)
...
...
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