Commit 3dc20865 authored by GILLES Sebastien's avatar 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
......@@ -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)
......
......@@ -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)
......
......@@ -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)
......
......@@ -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)
......
......@@ -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)
......
......@@ -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)
......
......@@ -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)
......
......@@ -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
......
......@@ -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)
......
......@@ -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
......
......@@ -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)
......
......@@ -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)
{
......
......@@ -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)
......
......@@ -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)
{
......
......@@ -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)
......
......@@ -56,7 +56,9 @@ namespace MoReFEM
PRAGMA_DIAGNOSTIC(push)
# ifdef __clang__
PRAGMA_DIAGNOSTIC(ignored "-Wdisabled-macro-expansion")
# endif // __clang__
......
......@@ -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)
......
......@@ -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)
......
......@@ -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)
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment