Compiler acting weird on OSX

Monkey Targets Forums/iOS/Compiler acting weird on OSX

JIM(Posted 2011) [#1]
After testing my project in both HTML5 and GLFW, both running perfect, I tried it on OSX. Apparently the compiler behaves completely different and gets all paranoid. Even HTML5 won't compile anymore.

First, it complained about duplicate declaration. So I went through all the files and put all Imports between "Private" and "Public" so they're all local.

Then it started complaining about not finding overloaded functions for List.Addlast.

It's mighty frustrating.

Originally, my structure was like so:

Main file includes "types.monkey".
types.monkey includes a base class and imports all the other classes.
Each class includes types.monkey and everyone's happy.

Works perfectly on windows, crashes and burns on OSX.

Anyone got any advice?


JIM(Posted 2011) [#2]
Well, this can be ignored. Apparently after a few updates, restarts and whatnot it started working. Even got it running on my iPhone! Woo!