Re: [PATCH master] kbuild: fix clangd warning with GCC compile_commands.json

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

 



On Tue, 07 Jan 2025 13:24:26 +0100, Ahmad Fatoum wrote:
> If barebox is configured to pass -ftrivial-auto-var-init=zero as
> argument to GCC, the compile_commands.json will list it prompting clang
> to complain:
> 
>   '-ftrivial-auto-var-init=zero' hasn't been enabled; enable it at your own
>   peril for benchmarking purpose only with
>   '-enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang'
> 
> [...]

Applied, thanks!

[1/1] kbuild: fix clangd warning with GCC compile_commands.json
      https://git.pengutronix.de/cgit/barebox/commit/?id=2c151ad3fb19 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux