alias char TCHAR;
const TCHAR[] READDATAPORT = ISAENUM ~ "\\ReadDataPort\\0";
const TCHAR[] ISAENUM = "ISAPnP";
----------
Assertion failure: 'tn->mod & MODinvariant || tn->mod & MODconst' on line 734 in
file 'mtype.c'
----------
Declaring the first constant as const char[] instead makes no difference, but the problem disappears if:
- the second constant is declared as const char[]
- the order is swapped
- both are in a single declaration
Comment #1 by clugdbug — 2009-05-19T01:27:05Z
This was failing for me in 2.029, but it works for me in 2.030. I think it may have been fixed in 2.030.