Hi all, In https://bugzilla.mozilla.org/show_bug.cgi?id=634839#c27, Luke (module owner) endorsed a slight change to the rules for #include ordering in SpiderMonkey.
The new rule is that in a jsfoo.cpp file, the jsfoo.h header should be the first header #included in the file. (Simliarly, in foo/Bar.cpp, foo/Bar.h should be the first header.) The rationale is that this ensures that the header itself includes all the headers it depends on. I would modify the SM style guide, but it's currently AWOL due to https://bugzilla.mozilla.org/show_bug.cgi?id=861017 :( Nick _______________________________________________ dev-tech-js-engine-internals mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

