aboutsummaryrefslogtreecommitdiff
path: root/helper
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2021-10-13 15:52:59 +0300
committerPetri Savolainen <petri.savolainen@nokia.com>2021-10-21 10:53:20 +0300
commita0237360e745c02131b8e7e4316ae7e6caa22274 (patch)
tree4ad286ea30dca9272fdd9fc0b3cc101ab175ba29 /helper
parentf245a3ff10491e2c93119c68ab3d38fd4fb0cdcf (diff)
helper: debug: fix variadic macro build errors
Fix "ISO C99 requires at least one argument for the "..." in a variadic macro" and "token pasting of ',' and __VA_ARGS__ is a GNU extension" errors when building with 'pedantic' option. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'helper')
-rw-r--r--helper/include/odp/helper/odph_debug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/helper/include/odp/helper/odph_debug.h b/helper/include/odp/helper/odph_debug.h
index 39ce3f0d9..bedef2f66 100644
--- a/helper/include/odp/helper/odph_debug.h
+++ b/helper/include/odp/helper/odph_debug.h
@@ -28,6 +28,10 @@ extern "C" {
* @{
*/
+/* Avoid "ISO C99 requires at least one argument for the "..." in a variadic
+ * macro" errors when building with 'pedantic' option. */
+#pragma GCC system_header
+
/**
* Assert macro for applications and helper code
*