I tried to use AtomicObject on the cpp target and ran into some very weird runtime null function errors. After much head scratching I discovered that AtomicObject is not actually implemented for hxcpp and the reason the #error wasn't stopping the compilation is that it was guarded with hxcpp instead of cpp.
I tried to use
AtomicObject
on the cpp target and ran into some very weird runtime null function errors. After much head scratching I discovered thatAtomicObject
is not actually implemented for hxcpp and the reason the#error
wasn't stopping the compilation is that it was guarded withhxcpp
instead ofcpp
.