-
Notifications
You must be signed in to change notification settings - Fork 54
Fix GCC 11 Compiler Warnings #1213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
1345a07
f2ea3e1
8d736b4
2d29dd3
697d657
6aba021
0804165
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -414,6 +414,13 @@ TEST_CASE("available_chunks_test_json", "[serial][json]") | |
|
|
||
| TEST_CASE("multiple_series_handles_test", "[serial]") | ||
| { | ||
| /* | ||
| * clang also understands these pragmas. | ||
| */ | ||
| #if defined(__GNUC__MINOR__) || defined(__clang__) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Typo fixed in #1255: |
||
| #pragma GCC diagnostic push | ||
| #pragma GCC diagnostic ignored "-Wdeprecated-declarations" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. With this one set, you can remove
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. -> #1246 |
||
| #endif | ||
| /* | ||
| * First test: No premature flushes through destructor when another copy | ||
| * is still around | ||
|
|
@@ -456,6 +463,12 @@ 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__) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here |
||
| #pragma GCC diagnostic pop | ||
| #endif | ||
| } | ||
|
|
||
| void close_iteration_test(std::string file_ending) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.