Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
external
decaf
Commits
2805d1b1
Commit
2805d1b1
authored
4 years ago
by
François Grisez
Browse files
Options
Download
Patches
Plain Diff
Fix build with Clang 10
(cherry picked from commit
7d6317ef
)
parent
de28b9aa
release/4.3
1 merge request
!10
Fix build with Clang 10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+1
-1
CMakeLists.txt
with
1 addition
and
1 deletion
CMakeLists.txt
+
1
−
1
View file @
2805d1b1
...
...
@@ -54,7 +54,7 @@ else()
set
(
STRICT_OPTIONS_C
"
${
STRICT_OPTIONS_C
}
-std=c99 -O2 -Wstrict-prototypes -Wno-error=strict-prototypes -fvisibility=hidden"
)
if
(
CMAKE_C_COMPILER_ID MATCHES
"Clang"
)
set
(
STRICT_OPTIONS_CPP
"
${
STRICT_OPTIONS_CPP
}
-Wno-error=unknown-warning-option -Qunused-arguments -Wno-tautological-compare"
)
set
(
STRICT_OPTIONS_CPP
"
${
STRICT_OPTIONS_CPP
}
-Wno-unused-function -Wno-array-bounds -Wno-pass-failed"
)
set
(
STRICT_OPTIONS_CPP
"
${
STRICT_OPTIONS_CPP
}
-Wno-unused-function -Wno-array-bounds -Wno-pass-failed
-Wno-error=sizeof-array-div
"
)
endif
()
if
(
ENABLE_STRICT
)
set
(
STRICT_OPTIONS_CPP
"
${
STRICT_OPTIONS_CPP
}
-Werror -Wextra -Wno-unused-parameter -fno-strict-aliasing"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets