Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
IceT
IceT
Commits
9a4daa88
Commit
9a4daa88
authored
Dec 16, 2010
by
Kenneth Moreland
Browse files
Merge branch 'RemoveShortenCompileFlag' into release
parents
efb109c8
69c5c21b
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
9a4daa88
...
...
@@ -105,7 +105,7 @@ ENDIF (ICET_USE_MPI)
# Add extra warnings when possible. The IceT build should be clean. I expect
# no warnings when bulding this code.
IF
(
CMAKE_COMPILER_IS_GNUCC
)
SET
(
ICET_C_FLAGS_WARN
"-ansi -Wall -Wno-long-long -Wcast-align -Wextra -Wformat-security -Wshadow -Wunused -Wreturn-type -Wpointer-arith -Wdeclaration-after-statement
-Wshorten-64-to-32
"
)
SET
(
ICET_C_FLAGS_WARN
"-ansi -Wall -Wno-long-long -Wcast-align -Wextra -Wformat-security -Wshadow -Wunused -Wreturn-type -Wpointer-arith -Wdeclaration-after-statement"
)
SET
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
${
ICET_C_FLAGS_WARN
}
"
)
ENDIF
(
CMAKE_COMPILER_IS_GNUCC
)
...
...
Write
Preview
Supports
Markdown
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