On Tue, Oct 30, 2012 at 1:13 PM, Nicholas Nethercote <n.netherc...@gmail.com > wrote:
> "#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? > It could be. On Windows files get copied from the source directory to dist/include. So it seems to me that if "." is on the include path before dist/include, it would be easy for some files to be included twice. Rob -- Jesus called them together and said, “You know that the rulers of the Gentiles lord it over them, and their high officials exercise authority over them. Not so with you. Instead, whoever wants to become great among you must be your servant, and whoever wants to be first must be your slave — just as the Son of Man did not come to be served, but to serve, and to give his life as a ransom for many.” [Matthew 20:25-28] _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform