There is an issue [1] in our STL wrappers that, when <type_traits> is
the first include in a source file, build would fail inside system
header with MSVC. It doesn't always show up immediately when you do so
because of unified source. But things may start being broken weirdly
when someone tries to add new file in the directory. So please avoid
doing so before the bug gets fixed.

It seems that the current coding style recommends putting standard
library includes before our own headers [2], which is probably why this
pattern shows up in several headers.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1341500
[2]
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#CC_practices


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

Reply via email to