Coding
#1
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.
Thanks given by:
#2
iirc that is for cubescript. The macros define COMMANDN and stuff like that. Basically makes sure that cubescript can be defined throughout AC.
Thanks given by:
#3
Thanks!

Also, does clang++ compile better or simply give you better error messages?
Thanks given by:
#4
(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++
Thanks given by:
#5
(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.
Thanks given by: