From: H. P. A. <hp...@zy...> - 2016-10-08 04:36:03
|
On 10/07/16 06:46, Daniel Lundqvist wrote: > > Unfortunately clang does not realise that 'again' will never be false > for non-glibc. How do you want that fixed? Is it OK to just > initialise f to NULL or do you prefer something else? > Setting f to NULL is fine. >From fd764d58a7ada29f5121e275ee6b1c050c5f219f Mon Sep 17 00:00:00 2001 From: Daniel Lundqvist <da...@ma...> Date: Fri, 7 Oct 2016 15:41:24 +0200 Subject: [PATCH] include/compiler.h: Adapt 'malloc' attributes for clang. As clang does not support alloc_size attribute, don't try to use it. Signed-off-by: Daniel Lundqvist <da...@ma...> What happens if you do, given that it defined __GNUC__ and therefore claims to be compatible with gcc? -hpa |