[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/29654] ld: add -w to suppress warnings
From: |
i at maskray dot me |
Subject: |
[Bug ld/29654] ld: add -w to suppress warnings |
Date: |
Tue, 18 Oct 2022 20:45:29 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29654
--- Comment #2 from Fangrui Song <i at maskray dot me> ---
(In reply to Nick Clifton from comment #1)
> Created attachment 14403 [details]
> Proposed patch
>
> Hi Fanguri,
>
> Is this patch the kind of thing that you had in mind ?
>
> Cheers
> Nick
Hi Nick, thanks for sending a patch! This looks good with just one thought:
`config.fatal_warnings = false;` makes me wonder how -w interacts with
--fatal-warnings. It seems that -w --fatal-warnings and --fatal-warnings -w
have the same effect (-w wins, which makes sense IMO), so I guess
`config.fatal_warnings = false;` can be omitted.
--
You are receiving this mail because:
You are on the CC list for the bug.