Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CLHEP
CLHEP
Commits
86e17e29
Commit
86e17e29
authored
Jun 20, 2014
by
Lynn Garren
Browse files
fix pragma for newer clang
parent
c0204bbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Geometry/test/testBasicVector3D.cc
View file @
86e17e29
...
...
@@ -230,8 +230,10 @@ using namespace HepGeom;
#endif
#endif
#ifdef __clang__
#if __clang_major__ < 4
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-but-set-variable"
#endif
#endif
void
CheckPointFloat
()
{
CHECK
(
Point3D
<
float
>
,
float
)
}
void
CheckVectorFloat
()
{
CHECK
(
Vector3D
<
float
>
,
float
)
}
...
...
@@ -245,7 +247,9 @@ void CheckNormalDouble() { CHECK(Normal3D<double>, double) }
#endif
#endif
#ifdef __clang__
#if __clang_major__ < 4
#pragma clang diagnostic pop
#endif
#endif
int
main
()
...
...
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