On Mon, Oct 29, 2012 at 4:44 PM, Ehsan Akhgari <ehsan.akhg...@gmail.com> wrote:
> I'd like to switch our coding style to use #pragma once instead of #include
> guards.

http://stackoverflow.com/questions/787533/is-pragma-once-a-safe-include-guard/1946730#1946730
says:

"#pragma once does have one drawback (other than being non-standard)
and that is if you have the same file in different locations (we have
this because our build system copies files around) then the compiler
will think these are different files"

Is that a problem for Mozilla code?

Nick
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to