Reply To: MWEdit

Home Forums Projects MWEdit Reply To: MWEdit

#5344

Yep, changing the include order fixed it. Going to need to fix the rest of the places where it shows up. Give me a bit.

We’ll want to fix things up at some point to make sure that we don’t run into this problem again. The fix isn’t pretty but it’s a temporary solution until the refactoring is further along.

We’ll want to move the string functions to common/dl_str.h as they use symbols from that file. common/dl_base.h cannot include that file because common/dl_str.h requires symbols from common/dl_base.h in order to function. I guess I could include it at the very end of common/dl_base.h, though. Essentially, the work on the includes has exposed a couple of circular dependencies that were already in the code. This will take some time to fix. Messy, messy, messy.

I’ll update the community threads when I get the chance