[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master

From: Dirk Ziegelmeier
Subject: Re: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. 5d356c96f58e09ef6f8b8b225b5df35720e61519
Date: Tue, 28 Jun 2016 08:33:19 +0200

Hi Sylvain,

I was also thinking about that yesterday. I'll dig some more into clang before reporting, I hope I did not miss how clang handles packing - afaik it understands GCC attributes for it. I need to double-check that first.


Dirk Ziegelmeier * address@hidden * http://www.ziegelmeier.net

On Mon, Jun 27, 2016 at 9:43 PM, Sylvain Rochet <address@hidden> wrote:
Hi Dirk,

On Mon, Jun 27, 2016 at 06:58:01PM +0000, Dirk Ziegelmeier wrote:
> commit e40175ef059b7122f650774b1ce95ee71e99c1e9
> Author: Dirk Ziegelmeier <address@hidden>
> Date:   Mon Jun 27 20:54:17 2016 +0200
>     Fix a few more CLANG alignment warnings - clang warns although the
>     target struct is packed (and may therefore be unaligned) :-(

For me this is a CLANG bug, it should not warn about unaligned access on
packed struct, that's something that is expected. Looks like you are
interested about CLANG, maybe you should you open a CLANG bug report
about that ? That would be better than adding those ugly double cast


reply via email to

[Prev in Thread] Current Thread [Next in Thread]