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
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to