Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions test/SerialIOTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -417,9 +417,11 @@ TEST_CASE("multiple_series_handles_test", "[serial]")
/*
* clang also understands these pragmas.
*/
#if defined(__GNUC__MINOR__) || defined(__clang__)
#if defined(__GNUC_MINOR__) && !defined(__INTEL_COMPILER)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#elif defined(__clang__)
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif
/*
* First test: No premature flushes through destructor when another copy
Expand Down Expand Up @@ -463,11 +465,10 @@ TEST_CASE("multiple_series_handles_test", "[serial]")
*/
series_ptr->flush();
}
#if defined(__INTEL_COMPILER)
#pragma warning(disable : 2282)
#endif
#if defined(__GNUC__MINOR__) || defined(__clang__)
#if defined(__GNUC_MINOR__) && !defined(__INTEL_COMPILER)
#pragma GCC diagnostic pop
#elif defined(__clang__)
#pragma clang diagnostic pop
#endif
}

Expand Down