Skip to content
This repository has been archived by the owner on Jun 27, 2018. It is now read-only.

#define not workin #227

Open
orlof opened this issue Feb 19, 2013 · 0 comments
Open

#define not workin #227

orlof opened this issue Feb 19, 2013 · 0 comments

Comments

@orlof
Copy link

orlof commented Feb 19, 2013

I have following defines:

#define TYPE_BOOLEAN        0x0002
#define TYPE_INT            0x0004

#define TYPE_GROUP_NUMERIC          TYPE_INT + TYPE_BOOLEAN
;define TYPE_GROUP_NON_NUMERIC      0xffff - TYPE_GROUP_NUMERIC
#define TYPE_GROUP_NON_NUMERIC      0xfff9

The commented out define does not work, but produces: TYPE_GROUP_NON_NUMERIC=0xfffd

...or is it so that subtraction is not supported with defines?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant