Not a concern, but the obvious question is: Do you have any idea how
this affects compile times?

On Mon, Oct 29, 2012 at 7:44 PM, Ehsan Akhgari <[email protected]> wrote:
> I'd like to switch our coding style to use #pragma once instead of #include
> guards.  #pragma once is supported on all compilers than can build our
> source code, it is more concise, and it avoids possible name clashes in
> #include guards (or adopting silly conventions for avoiding them), and it
> can be used in both C and C++.
>
> Does anybody have any concerns with that change?  If not, I'll edit the
> coding style and will file bugs to switch the in-tree usages of #include
> guards with #pragma once.
>
> Cheers,
> --
> Ehsan
> <http://ehsanakhgari.org/>
> _______________________________________________
> dev-platform mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-platform
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to