On Sun, 15 May 2022 at 19:56, Arthur Heymans <[email protected]> wrote:
> Most compilers implement '#pragma once ' as an alternative.

I've been using #pragma once since 2019 in fwupd and I've never once
had a problem with it -- and we compile with a lot of weird compilers
and for a lot of strange targets. It reduced the amount of boilerplate
by a huge amount, and removed one new-contributor "gotcha" that was
lurking for every person that added a new header.

Richard.
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to