We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 2345852 commit 3c78fb5Copy full SHA for 3c78fb5
src/core/qgis.h
@@ -553,6 +553,8 @@ typedef unsigned long long qgssize;
553
#define NODISCARD [[nodiscard]]
554
#elif defined(__clang__)
555
556
+#elif defined(_MSC_VER)
557
+#define NODISCARD // no support
558
#elif __has_cpp_attribute(nodiscard)
559
560
#elif __has_cpp_attribute(gnu::warn_unused_result)
@@ -565,6 +567,8 @@ typedef unsigned long long qgssize;
565
567
#define MAYBE_UNUSED [[maybe_unused]]
566
568
569
570
571
+#define MAYBE_UNUSED // no support
572
#elif __has_cpp_attribute(gnu::unused)
573
#define MAYBE_UNUSED [[gnu::unused]]
574
#else
0 commit comments