Don't call a function before it's declaration/definition
Calling a function before it is declared will cause mu-tool-compiler to create an ID local to the bundle, so it cannot be referenced in other bundles and will not be passed to the boot images white list.
To get around this limitation, declare your functions (with explicitly with .funcdecl
or implicitly with .funcdef
) before you call them. Unfortunately fixing this may require a major architectural change to mu-tool-compiler, so I will do it later.
(EDIT: Never mind, I fixed it, it was easier than I thought)