From 83d7ab38acb2ecf917fc66e6aefddff7cb5f7169 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Wed, 2 Aug 2017 13:01:54 +0300 Subject: Using old-style packed attribute specification for compatibility. --- auto/clang | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'auto') diff --git a/auto/clang b/auto/clang index f36a31a0..91078ba9 100644 --- a/auto/clang +++ b/auto/clang @@ -153,9 +153,10 @@ nxt_feature_name=NXT_HAVE_GCC_ATTRIBUTE_PACKED nxt_feature_run= nxt_feature_path= nxt_feature_libs= -nxt_feature_test="struct __attribute__ ((__packed__)) s { +nxt_feature_test="struct s { char c; - }; + int i; + } __attribute__ ((__packed__)); int main() { return 1; -- cgit