Posts: 1,033
Threads: 85
Joined: Oct 2013
So last time clang++ failed to work properly (didn't look too deep into it) but I like g++ so I'm back on g++ in Netbeans. I'm wondering if anyone knows what the section labeled
// nasty macros for registering script functions, abuses globals to avoid excessive infrastructure
does?
The macro names aren't as descriptive as I'd like.
Posts: 3,462
Threads: 72
Joined: Jun 2010
iirc that is for cubescript. The macros define COMMANDN and stuff like that. Basically makes sure that cubescript can be defined throughout AC.
Posts: 1,033
Threads: 85
Joined: Oct 2013
Thanks!
Also, does clang++ compile better or simply give you better error messages?
Posts: 1,039
Threads: 77
Joined: Jun 2010
(07 Feb 14, 04:41PM)Mousikos Wrote: Thanks!
Also, does clang++ compile better or simply give you better error messages?
GCC's optimizations, caused a linux-only crash bug for AC. That's why we moved to clang++
Posts: 1,033
Threads: 85
Joined: Oct 2013
(07 Feb 14, 07:48PM)RandumKiwi Wrote: (07 Feb 14, 04:41PM)Mousikos Wrote: Thanks!
Also, does clang++ compile better or simply give you better error messages?
GCC's optimizations, caused a linux-only crash bug for AC. That's why we moved to clang++
Ah okay. I tried to compile the source last night both with g++ and clang++. g++ got me a Floating Point Error, and Clang++ gave me an arithmatic error?
I'm more awake today so I'll give it another go. Maybe I'm missing something obvious.