Closed NSBrianWard closed 9 years ago
MPW should compile fine on 10.10; using Xcode 6's version of clang & macports' cmake here. Not sure that helps!
Strange. I must just be doing something wacky. Running Xcode 6.1.1. Which version of cmake are you running? I've got 3.1.1.
3.0.2 here, and there are no references to assert() in template_parser.cpp - could be your lemon?
Managed to get a complete build! I had to add an include to <assert.h>
in template_parser.lemon
Maybe something got changed in the repo recently? Or maybe it's just my environment? I have Lemon 1.0, which makes me wonder if that's an older version or something... Either way, looks like I'm good now! :)
Thanks for helping out, @steventroughtonsmith -- I enjoyed your write up the other day!
macports and brew have a slightly different lemon template file. The other lemon files include <assert.h>
but template_parser.lemon
was a newer addition and I forgot about that.
It should be fixed with 67cb2b6e09b5851cc79cc4b3768b17fb545515f2.
Thanks for this. I was adding
Ha! I knew something brewy was going on. ;) Thanks!
Now, it might be that I'm just on 10.10 and that isn't supported, since I note you mention 10.8 outright. On failure during compile, I get:
Any thoughts? I installed
cmake
,ragel
andlemon
through brew. Pretty sureclang++
supports C++11 on my machine, but maybe something weird is going on there. Not sure! Full barf follows:Hope you can help out. This is a super neat project!