|
Message-Id: <1008531484044447@web13j.yandex.ru>
Date: Tue, 10 Jan 2017 12:34:07 +0200
From: Dmitry Golovin <dima@...ovin.in>
To: "musl@...ts.openwall.com" <musl@...ts.openwall.com>
Subject: Re: Clang warning silencing patch
Sorry, I probably have misformatted the patch. Here it is hopefully in correct format. Please tell me if it is wrong.
Regards,
Dmitry
10.01.2017, 11:59, "Dmitry Golovin" <dima@...ovin.in>:
> The attached patch will reduce the amount of warnings produced when using clang compiler.
>
> It does two things:
>
> 1. Tests for excess-precision=standard and rounding-math are disabled for clang. The problem is that those tests pass, but do no good: every compilation commands produce two warnings about unsupported optimization flags.
>
> 2. LDFLAGS (added to --help) variable is only used for linking, CFLAGS is only used for compiling, none of them are used for assembly. This suppresses all unused argument warnings.
>
> Regards,
> Dmitry
View attachment "3464-improvements-for-building-with-clang.patch" of type "text/x-diff" (2546 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.