Commit Graph

10 Commits

Author SHA1 Message Date
ThePhD
42978a9ed4 Fixed segfault on GCC. It was picking the wrong overload:
by forward-declaring the std::function overload in `stack`, it is able to find the right function to use.
All tests are passing
the ninja file has been tweaked to make it easier to invoke a g++ build on windows
2014-05-31 14:29:14 -04:00
Rapptz
ffb32f45ad Renamed sol.scratch.cpp to tests.cpp 2013-12-12 05:40:05 -05:00
ThePhD
a59320787f We apparently need to link in dl (dladdr) manually. 2013-12-11 23:43:33 -05:00
ThePhD
e9d90d617c Well, -llua5.2. At least it's more explicit. 2013-12-11 13:26:54 -05:00
ThePhD
9204a019ba Checking once more if we need additional library paths... 2013-12-11 13:22:05 -05:00
ThePhD
029bd91e23 Weeee, = instead of -! 2013-12-11 13:17:14 -05:00
ThePhD
b77fd29f37 ~Installed~ 2013-12-11 13:14:34 -05:00
ThePhD
e6a9688b80 If this works, Ninja is stupid. 2013-12-11 12:51:10 -05:00
ThePhD
459bbcaba0 GCC is lame. But at least it's building now. Fixed up the build.ninja and made all tests pass (exceptions weren't being thrown because of lua_pcall: use lua_call to let exceptions propogate naturally). 2013-12-11 12:42:00 -05:00
ThePhD
350f430d74 Improved tests, added a build.ninja for TeamCity, and fixed formatting again to work with Rapptz's style. 2013-12-11 11:18:13 -05:00