Skip to content
Snippets Groups Projects
Commit 59534c07 authored by Florian Fischer's avatar Florian Fischer
Browse files

[Debug] maybe-uninitialized should be ignored for gcc >= 11.1.0

parent 25832819
No related branches found
No related tags found
1 merge request!204[Debug] maybe-uninitialized should be ignored for gcc >= 11.1.0
......@@ -59,7 +59,7 @@
// test for GCC > 11.1.0
#if __GNUC__ > 11 || \
(__GNUC__ == 11 && (__GNUC_MINOR__ > 1 || (__GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ > 0)))
(__GNUC__ == 11 && (__GNUC_MINOR__ > 1 || (__GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ >= 0)))
#define IGNORE_MAYBE_UNINITIALIZED \
_Pragma("GCC diagnostic push") _Pragma("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
#else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment