Not only that, but it is not part of the standard yet. The benefit is rather
small compared to the risks so I would recommend against it.



-Jiri
---------- Původní e-mail ----------
Od: Manuele Conti <[email protected]>
Komu: HelenOS development mailing list <[email protected]>
Datum: 2. 6. 2017 20:07:30
Předmět: Re: [HelenOS-devel] #pragma once
"Hi Jakub,
"Pragma one" is not supported by some old compiler, so I prefer to use the
classical header guards.
Regards,
Manuele

> On 2 Jun 2017, at 16:48, Jakub Jermář <[email protected]> wrote:
>
> Hello,
>
> how controversial would it be to start using #pragma once instead of
> classical header guards? Asking for a friend.
>
> Jakub
>
> _______________________________________________
> HelenOS-devel mailing list
> [email protected]
> http://lists.modry.cz/listinfo/helenos-devel


_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel
"
_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to