From 1b25eae747ccf73472ed3984d283ab5a62389dff Mon Sep 17 00:00:00 2001 From: Alex Helfet Date: Wed, 22 Mar 2017 17:44:17 +0000 Subject: [PATCH] Fix runtime library compiler warnings and errors in GCC. --- lib/capnp_c.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/capnp_c.h b/lib/capnp_c.h index 86d5608..58867a3 100644 --- a/lib/capnp_c.h +++ b/lib/capnp_c.h @@ -28,12 +28,12 @@ typedef intmax_t ssize_t; #endif -// Macro UNUSED silences compiler warnings about unused parameters. +// Macro UNUSED(x) silences compiler warnings about unused parameter or variable `x`. #ifndef UNUSED #define UNUSED(x) (void)(x) #endif -// Cross-platform macro ALIGNED_(x) aligns a struct by x bits. +// Cross-platform macro ALIGNED_(x) aligns a struct by `x` bits. #ifdef _MSC_VER #define ALIGNED_(x) __declspec(align(x)) #endif