Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
346f7e0a
Commit
346f7e0a
authored
8 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
silence gcc6 warnings about misleading identation
parent
0badc7eb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+4
-0
4 additions, 0 deletions
CMakeLists.txt
with
4 additions
and
0 deletions
CMakeLists.txt
+
4
−
0
View file @
346f7e0a
...
...
@@ -1294,6 +1294,7 @@ endif(WIN32 OR CYGWIN)
check_cxx_compiler_flag
(
"-Wall"
WALL
)
check_cxx_compiler_flag
(
"-Wint-to-void-pointer-cast"
WCAST
)
check_cxx_compiler_flag
(
"-Wdeprecated-declarations"
WDEPREC
)
check_cxx_compiler_flag
(
"-Wmisleading-indentation"
WIND
)
if
(
WALL AND NOT MSVC
)
file
(
GLOB_RECURSE WALL_SRC Common/*.cpp Fltk/*.cpp FunctionSpace/*.cpp
Geo/*.cpp Graphics/*.cpp Mesh/*.cpp Numeric/*.cpp Parser/*.cpp
...
...
@@ -1306,6 +1307,9 @@ if(WALL AND NOT MSVC)
# FIXME: remove this when we have fixed the deprecated GLU code for OpenGL3
set
(
WF
"
${
WF
}
-Wno-deprecated-declarations"
)
endif
(
WDEPREC
)
if
(
WIND
)
set
(
WF
"
${
WF
}
-Wno-misleading-indentation"
)
endif
(
WIND
)
foreach
(
FILE
${
WALL_SRC
}
)
get_source_file_property
(
PROP
${
FILE
}
COMPILE_FLAGS
)
if
(
PROP
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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