Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GILLES Sebastien
MoReFEM
Commits
3dc20865
Commit
3dc20865
authored
Apr 10, 2019
by
GILLES Sebastien
Browse files
#1398 Attempt to fix compilation warnings that appear in gcc (tests so far were only with clang).
parent
99098ec3
Pipeline
#73399
canceled with stages
in 2 minutes and 44 seconds
Changes
25
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Sources/ModelInstances/Elasticity/test_results.cpp
View file @
3dc20865
...
...
@@ -34,7 +34,9 @@ namespace // anonymous
PRAGMA_DIAGNOSTIC
(
push
)
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wdisabled-macro-expansion"
)
# endif // __clang__
BOOST_FIXTURE_TEST_CASE
(
seq_3d
,
TestNS
::
FixtureNS
::
Environment
)
...
...
Sources/ModelInstances/Heat/test_results.cpp
View file @
3dc20865
...
...
@@ -35,7 +35,9 @@ namespace // anonymous
PRAGMA_DIAGNOSTIC
(
push
)
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wdisabled-macro-expansion"
)
# endif // __clang__
BOOST_FIXTURE_TEST_CASE
(
sequential_1d
,
TestNS
::
FixtureNS
::
Environment
)
...
...
Sources/ModelInstances/Hyperelasticity/test_results.cpp
View file @
3dc20865
...
...
@@ -33,7 +33,9 @@ namespace // anonymous
PRAGMA_DIAGNOSTIC
(
push
)
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wdisabled-macro-expansion"
)
# endif // __clang__
BOOST_FIXTURE_TEST_CASE
(
sequential
,
TestNS
::
FixtureNS
::
Environment
)
...
...
Sources/ModelInstances/Laplacian/test_results.cpp
View file @
3dc20865
...
...
@@ -33,7 +33,9 @@ namespace // anonymous
PRAGMA_DIAGNOSTIC
(
push
)
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wdisabled-macro-expansion"
)
# endif // __clang__
BOOST_FIXTURE_TEST_CASE
(
sequential
,
TestNS
::
FixtureNS
::
Environment
)
...
...
Sources/ModelInstances/RivlinCube/test_results.cpp
View file @
3dc20865
...
...
@@ -34,7 +34,9 @@ namespace // anonymous
PRAGMA_DIAGNOSTIC
(
push
)
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wdisabled-macro-expansion"
)
# endif // __clang__
BOOST_FIXTURE_TEST_CASE
(
sequential_hexahedra
,
TestNS
::
FixtureNS
::
Environment
)
...
...
Sources/ModelInstances/Stokes/test_results.cpp
View file @
3dc20865
...
...
@@ -35,7 +35,9 @@ namespace // anonymous
PRAGMA_DIAGNOSTIC
(
push
)
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wdisabled-macro-expansion"
)
# endif // __clang__
BOOST_FIXTURE_TEST_CASE
(
sequential
,
TestNS
::
FixtureNS
::
Environment
)
...
...
Sources/Test/Core/MoReFEMData/CommandLineOptions/test_command_line_options.cpp
View file @
3dc20865
...
...
@@ -50,7 +50,9 @@ namespace // anonymous
PRAGMA_DIAGNOSTIC
(
push
)
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wdisabled-macro-expansion"
)
# endif // __clang__
BOOST_FIXTURE_TEST_CASE
(
cli_options
,
Fixture
)
...
...
Sources/Test/Core/MoReFEMData/InitialCondition/test.cpp
View file @
3dc20865
...
...
@@ -12,7 +12,9 @@
PRAGMA_DIAGNOSTIC
(
push
)
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wdisabled-macro-expansion"
)
# endif // __clang__
// Because std::variant not yet supported with Apple clang
...
...
Sources/Test/Core/MoReFEMData/InputData/test_input_data.cpp
View file @
3dc20865
...
...
@@ -65,7 +65,9 @@ namespace // anonymous
PRAGMA_DIAGNOSTIC
(
push
)
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wdisabled-macro-expansion"
)
# endif // __clang__
BOOST_FIXTURE_TEST_CASE
(
check_value
,
fixture_type
)
...
...
Sources/Test/Core/MoReFEMData/InputParameter/test_parameter.cpp
View file @
3dc20865
...
...
@@ -11,7 +11,9 @@
#include "ThirdParty/IncludeWithoutWarning/Boost/Test.hpp"
PRAGMA_DIAGNOSTIC
(
push
)
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wdisabled-macro-expansion"
)
# endif // __clang__
// Because std::variant not yet supported with Apple clang
...
...
Sources/Test/Core/VariableTimeStep/test.cpp
View file @
3dc20865
...
...
@@ -62,7 +62,9 @@ namespace // anonymous
PRAGMA_DIAGNOSTIC
(
push
)
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wdisabled-macro-expansion"
)
# endif // __clang__
BOOST_FIXTURE_TEST_CASE
(
variable_time_step
,
fixture_type
)
...
...
Sources/Test/Operators/TestFunctions/main.cpp
View file @
3dc20865
...
...
@@ -25,7 +25,9 @@
using
namespace
MoReFEM
;
PRAGMA_DIAGNOSTIC
(
push
)
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wdisabled-macro-expansion"
)
# endif // __clang__
BOOST_AUTO_TEST_CASE
(
test_function
)
{
...
...
Sources/Test/ParameterInstances/Solid/test_all_defined.cpp
View file @
3dc20865
...
...
@@ -96,7 +96,9 @@ namespace // anonymous
PRAGMA_DIAGNOSTIC
(
push
)
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wdisabled-macro-expansion"
)
# endif // __clang__
BOOST_FIXTURE_TEST_CASE
(
solid_data_correctly_interpreted
,
TestNS
::
FixtureNS
::
Environment
)
...
...
Sources/Test/ParameterInstances/Solid/test_lame_ignored.cpp
View file @
3dc20865
...
...
@@ -92,7 +92,9 @@ namespace // anonymous
PRAGMA_DIAGNOSTIC
(
push
)
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wdisabled-macro-expansion"
)
# endif // __clang__
BOOST_FIXTURE_TEST_CASE
(
lame_ignored
,
TestNS
::
FixtureNS
::
Environment
)
{
...
...
Sources/Test/ParameterInstances/Solid/test_no_kappa_mu_C.cpp
View file @
3dc20865
...
...
@@ -80,7 +80,9 @@ namespace // anonymous
PRAGMA_DIAGNOSTIC
(
push
)
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wdisabled-macro-expansion"
)
# endif // __clang__
BOOST_FIXTURE_TEST_CASE
(
no_kappa_mu_C
,
TestNS
::
FixtureNS
::
Environment
)
...
...
Sources/Test/ParameterInstances/Solid/test_poisson_without_young.cpp
View file @
3dc20865
...
...
@@ -56,7 +56,9 @@ namespace MoReFEM
PRAGMA_DIAGNOSTIC
(
push
)
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wdisabled-macro-expansion"
)
# endif // __clang__
...
...
Sources/Test/ThirdParty/Mpi/Gather/main.cpp
View file @
3dc20865
...
...
@@ -37,7 +37,9 @@ namespace // anonymous
PRAGMA_DIAGNOSTIC
(
push
)
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wdisabled-macro-expansion"
)
# endif // __clang__
BOOST_FIXTURE_TEST_SUITE
(
mpi_gather
,
MoReFEM
::
TestNS
::
FixtureNS
::
Mpi
)
...
...
Sources/Test/ThirdParty/Mpi/SendReceive/test.cpp
View file @
3dc20865
...
...
@@ -34,7 +34,9 @@ namespace // anonymous
PRAGMA_DIAGNOSTIC
(
push
)
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wdisabled-macro-expansion"
)
# endif // __clang__
BOOST_FIXTURE_TEST_SUITE
(
mpi_send_receive
,
MoReFEM
::
TestNS
::
FixtureNS
::
Mpi
)
...
...
Sources/Test/ThirdParty/NanOrInf/test.cpp
View file @
3dc20865
...
...
@@ -28,7 +28,9 @@ namespace // anonymous
PRAGMA_DIAGNOSTIC
(
push
)
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wdisabled-macro-expansion"
)
# endif // __clang__
BOOST_AUTO_TEST_CASE
(
is_number
)
...
...
Sources/Test/ThirdParty/Tclap/test.cpp
View file @
3dc20865
...
...
@@ -78,7 +78,9 @@ namespace // anonymous
PRAGMA_DIAGNOSTIC
(
push
)
# ifdef __clang__
PRAGMA_DIAGNOSTIC
(
ignored
"-Wdisabled-macro-expansion"
)
# endif // __clang__
BOOST_FIXTURE_TEST_SUITE
(
string_pair
,
Case1
)
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
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