Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GILLES Sebastien
MoReFEM
Commits
f38c6104
Commit
f38c6104
authored
Oct 19, 2019
by
GILLES Sebastien
Browse files
#1292 Fix ubuntu gcc debug warnings.
parent
4db6056e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Sources/ThirdParty/IncludeWithoutWarning/Xtensor/Xtensor.hpp
View file @
f38c6104
...
...
@@ -12,16 +12,21 @@
# include "Utilities/Pragma/Pragma.hpp"
PRAGMA_DIAGNOSTIC
(
push
)
PRAGMA_DIAGNOSTIC
(
ignored
"-Wshadow-field-in-constructor"
)
PRAGMA_DIAGNOSTIC
(
ignored
"-Wshadow"
)
PRAGMA_DIAGNOSTIC
(
ignored
"-Wundef"
)
PRAGMA_DIAGNOSTIC
(
ignored
"-Wcomma"
)
PRAGMA_DIAGNOSTIC
(
ignored
"-Wswitch-enum"
)
PRAGMA_DIAGNOSTIC
(
ignored
"-Wweak-vtables"
)
PRAGMA_DIAGNOSTIC
(
ignored
"-Wunused-template"
)
PRAGMA_DIAGNOSTIC
(
ignored
"-Wfloat-equal"
)
PRAGMA_DIAGNOSTIC
(
ignored
"-Wnewline-eof"
)
PRAGMA_DIAGNOSTIC
(
ignored
"-Wextra-semi-stmt"
)
PRAGMA_DIAGNOSTIC
(
ignored
"-Wparentheses"
)
// at least for gcc \todo #1292
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wshadow-field-in-constructor"
)
PRAGMA_DIAGNOSTIC
(
ignored
"-Wcomma"
)
PRAGMA_DIAGNOSTIC
(
ignored
"-Wweak-vtables"
)
PRAGMA_DIAGNOSTIC
(
ignored
"-Wnewline-eof"
)
PRAGMA_DIAGNOSTIC
(
ignored
"-Wunused-template"
)
# endif // __clang__
# include "xtensor/xtensor.hpp"
# include "xtensor/xio.hpp"
...
...
Write
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!
Cancel
Please
register
or
sign in
to comment