Re: [PATCH libnetfilter_queue] src: Enable clang build

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

 



On 2019-09-22, at 10:10:31 +1000, Duncan Roe wrote:
> Unlike gcc, clang insists to have EXPORT_SYMBOL(x) come before the definition
> of x. So move all EXPORT_SYMBOL lines to just after the last #include line.
>
> pktbuff.c was missing its associated header, so correct that as well.
>
> gcc & clang produce different warnings. gcc warns that nfq_set_verdict_mark is
> deprecated while clang warns of invalid conversion specifier 'Z' at
> src/extra/ipv6.c:138 (should that be lower-case?)

It should, yes.

J.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux