Detecting BCC-NG

BlitzMax Forums/Brucey's Modules/Detecting BCC-NG

Yasha(Posted 2015) [#1]
Which directives are added to Max by the NG compiler? The readme is... somewhat sparse...

I'm working on something using JIT at the moment, and would like to be able to slap the wrist of any hypothetical user who tries to compile for ARM or x64 (or...) until those are added later (and for that matter, to be able to provide the right one once there is more than one). I'm guessing `?x86` will rule out the first, but which directives are followed for an x64 target? Does it define both, or just x64? Similarly for `win32`.

(I'm not developing in NG, and I get the impression no other third party should be yet either, but now seems like a good time to start future-proofing)


Brucey(Posted 2015) [#2]
You can find some up-to-date information in the source for now.

Still working on the proper documentation.