We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65be81c commit 26d3431Copy full SHA for 26d3431
1 file changed
libs/c/postscriptbarcode_test.c
@@ -34,7 +34,25 @@
34
#include <stdlib.h>
35
#include <string.h>
36
37
+/*
38
+ * Don't flag warnings in third-party test harness code.
39
+ */
40
+#if defined(__clang__)
41
+#elif defined(__GNUC__)
42
+# pragma GCC diagnostic push
43
+# pragma GCC diagnostic ignored "-Wsign-conversion"
44
+#elif defined(_MSC_VER)
45
+# include <CodeAnalysis/warnings.h>
46
+# pragma warning(push)
47
+# pragma warning(disable: ALL_CODE_ANALYSIS_WARNINGS)
48
+#endif
49
#include "acutest.h"
50
51
52
+# pragma GCC diagnostic pop
53
54
+# pragma warning(pop)
55
56
#include "postscriptbarcode.h"
57
58
#define MOCK_PS "test_barcode.ps"
0 commit comments