Milton, or '-D defines' can be defined and undefined at the same time in OpenSpin
25 days ago by
OpenSpin's preprocessor(s) seem to have problems with defines.
$ cat Newton.spin
#warning X defined
#warning X not defined
$ /opt/openspin/bin/openspin -u -D X Newton.spin
Propeller Spin/PASM Compiler 'OpenSpin' (c)2012-2016 Parallax Inc. DBA Parallax Semiconductor.
Version 1.00.80 Compiled on Aug 15 2017 15:07:36
Newton.spin:2: warning: #warn: X defined
Newton.spin:6: warning: #warn: X not defined
Unused Method Elimination:
Program size is 28 bytes
That's only described/tested with
-D xyzzycommand line option because that's the case I need(ed).
It fails on single file sources when using the
-uoption and it fails (without
-u) on sources with objects.
Now confirmed being a bug. The Chef looks at it.
Testing post type "Article/Blog/Note" to see what's different to post type "Question".
Ok, once written as one post type it looks like re-typing is impossible.
Maybe this one better should have been of type "News" because if the issue is fixed, this turns into old news to wrap your fish and chips in it.