On Tue, Nov 19, 2013 at 4:04 PM, L. David Baron <dba...@dbaron.org> wrote:
> I expect that otherwise we'd get pretty frequent bustage with people > forgetting to add #includes, and that bustage would then show up > when we add or remove files, which would make it a huge pain to add > or remove files. > > But I'm actually also worried (perhaps *more* worried) about cases > where there are semantic differences but things will still compile, > such as two static variables of the same name and type, in different > files (e.g., "static bool gInitialized"). > Fortunately two static variables with the same name in the same translation unit is an error in C++, at least with gcc. Rob -- Jtehsauts tshaei dS,o n" Wohfy Mdaon yhoaus eanuttehrotraiitny eovni le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o Whhei csha iids teoa stiheer :p atroa lsyazye,d 'mYaonu,r "sGients uapr,e tfaokreg iyvoeunr, 'm aotr atnod sgaoy ,h o'mGee.t" uTph eann dt hwea lmka'n? gBoutt uIp waanndt wyeonut thoo mken.o w _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform