From a40e1ea269a5d3670884244ee49d2842c1b64bdb Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Fri, 13 May 2016 10:35:07 +0200 Subject: [PATCH] sdlog2: Properly handle pragma --- src/modules/sdlog2/sdlog2_messages.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/sdlog2/sdlog2_messages.h b/src/modules/sdlog2/sdlog2_messages.h index 7778cf99df..900f02a472 100644 --- a/src/modules/sdlog2/sdlog2_messages.h +++ b/src/modules/sdlog2/sdlog2_messages.h @@ -629,11 +629,11 @@ struct log_PARM_s { char name[16]; float value; }; +#pragma pack(pop) // the lower type of initialisation is not supported in C++ #ifndef __cplusplus -#pragma pack(pop) /* construct list of all message formats */ static const struct log_format_s log_formats[] = { /* business-level messages, ID < 0x80 */