On Sun, 15 May 2022 at 19:56, Arthur Heymans <art...@aheymans.xyz> 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 -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org

Reply via email to