heurisko bug no. 6048
This applies to heurisko
Symptoms
The preprocessor command ifnotdef sometimes issues error 1367 witout any reason.
Example:
#define RAWDATA; # Not defined!
#define RAW8; # Not defined!
ifdef RAWDATA;
ifnotdef RAW8;
"RAWDATA and not RAW8";
elseifdef;
"RAWDATA and RAW8";
endifdef;
endifdef; # Error 1367
Cause
?
Workaround
Replace ifnotdef by ifdef in such a way that you achieve the same logic.
Example:
ifdef RAWDATA;
ifdef RAW8;
"RAWDATA and RAW8";
elseifdef;
"RAWDATA and not RAW8";
endifdef;
endifdef; # Error 1367
Fix
This bug is not yet fixed.