In Clang, static object fields are initialised from top to bottom, but before any other variables in anoymous namespaces. To the contrary, GCC evaluates *any* initialisation expression in the translation unit together from top to bottom. Thus, in the clang generated code, in two cases the static initialisation could use a not yet constructed local lib::_Fmt formatter object. |
||
|---|---|---|
| .. | ||
| asset | ||
| control | ||
| engine | ||
| mobject | ||
| play | ||