aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_debug_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linux-generic/include/odp_debug_internal.h')
-rw-r--r--platform/linux-generic/include/odp_debug_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/linux-generic/include/odp_debug_internal.h b/platform/linux-generic/include/odp_debug_internal.h
index 5027cfe4a..c5c1890c3 100644
--- a/platform/linux-generic/include/odp_debug_internal.h
+++ b/platform/linux-generic/include/odp_debug_internal.h
@@ -29,6 +29,10 @@
extern "C" {
#endif
+/* Avoid "ISO C99 requires at least one argument for the "..." in a variadic
+ * macro" errors when building with 'pedantic' option. */
+#pragma GCC system_header
+
/* Debug level configure option. Zero is the highest level. Value of N prints debug messages from
* level 0 to N. */
#define CONFIG_DEBUG_LEVEL 0