Child class in separate file

Former Member
Former Member
When child class is defined in a separate file build shows next error: Unable to find parent class of ** for class **
Please confirm if it's by design. Thanks!
  • It is due to a bug. If the derived class is defined in a file that is compiled after the parent you will see this error. Often you can work around it by renaming the files. I just put a z at the beginning of the file name for base class definitions.

    Travis
  • Former Member
    Former Member over 9 years ago
    Bug: Order of class loading depends on file name

    I want to note that this bug is still available in SDK 1.2.6. The workaround does the trick, but it's very ugly and messes file structure up! Class loading should not depend on file names.