Hi,
Yesterday I got forced to install Marlin instead Repetier due to the following compile errors in Arduino IDE.
Yesterday I got forced to install Marlin instead Repetier due to the following compile errors in Arduino IDE.
In file included from HAL.h:77:0, from Repetier.h:264, from Eeprom.cpp:24: fastio.h:27:32: error: pasting "DIO" and "-" does not give a valid preprocessing tok en #define _READ(IO) ((bool)(DIO ## IO ## _RPORT & MASK(DIO ## IO ## _PIN))) ^ fastio.h:46:23: note: in expansion of macro ‘_READ’ #define READ(IO) _READ(IO) ^ Printer.h:487:35: note: in expansion of macro ‘READ’ return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN)); ^ Configuration.h:294:22: error: invalid suffix "_RPORT" on integer constant #define Z_PROBE_PIN -1 ^ fastio.h:27:39: note: in definition of macro ‘_READ’ #define _READ(IO) ((bool)(DIO ## IO ## _RPORT & MASK(DIO ## IO ## _PIN))) ^ Printer.h:487:35: note: in expansion of macro ‘READ’ return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN)); ^ Printer.h:487:40: note: in expansion of macro ‘Z_PROBE_PIN’ return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN)); ^ fastio.h:27:59: error: pasting "DIO" and "-" does not give a valid preprocessing tok en #define _READ(IO) ((bool)(DIO ## IO ## _RPORT & MASK(DIO ## IO ## _PIN))) ^ fastio.h:46:23: note: in expansion of macro ‘_READ’ #define READ(IO) _READ(IO) ^ Printer.h:487:35: note: in expansion of macro ‘READ’ return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN)); Printer.h:487:40: note: in expansion of macro ‘Z_PROBE_PIN’ return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN)); ^ fastio.h:27:59: error: pasting "DIO" and "-" does not give a valid preprocessing tok en #define _READ(IO) ((bool)(DIO ## IO ## _RPORT & MASK(DIO ## IO ## _PIN))) ^ fastio.h:46:23: note: in expansion of macro ‘_READ’ #define READ(IO) _READ(IO) ^ Printer.h:487:35: note: in expansion of macro ‘READ’ return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN)); ^ Configuration.h:294:22: error: invalid suffix "_PIN" on integer constant #define Z_PROBE_PIN -1 ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:46:23: note: in expansion of macro ‘_READ’ #define READ(IO) _READ(IO) ^ Printer.h:487:35: note: in expansion of macro ‘READ’ return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN)); ^ Printer.h:487:40: note: in expansion of macro ‘Z_PROBE_PIN’ return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN)); ^ fastio.h:27:32: error: pasting "DIO" and "-" does not give a valid preprocessing tok en #define _READ(IO) ((bool)(DIO ## IO ## _RPORT & MASK(DIO ## IO ## _PIN))) ^ fastio.h:46:23: note: in expansion of macro ‘_READ’ #define READ(IO) _READ(IO) ^ Printer.h:487:56: note: in expansion of macro ‘READ’ return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN)); ^ Configuration.h:294:22: error: invalid suffix "_RPORT" on integer constant #define Z_PROBE_PIN -1 ^ fastio.h:27:39: note: in definition of macro ‘_READ’ #define _READ(IO) ((bool)(DIO ## IO ## _RPORT & MASK(DIO ## IO ## _PIN))) ^ Printer.h:487:56: note: in expansion of macro ‘READ’ return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN)); ^ Printer.h:487:61: note: in expansion of macro ‘Z_PROBE_PIN’ return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN)); ^ fastio.h:27:59: error: pasting "DIO" and "-" does not give a valid preprocessing tok en #define _READ(IO) ((bool)(DIO ## IO ## _RPORT & MASK(DIO ## IO ## _PIN))) ^ fastio.h:46:23: note: in expansion of macro ‘_READ’ #define READ(IO) _READ(IO) ^ Printer.h:487:56: note: in expansion of macro ‘READ’ return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN)); ^ Configuration.h:294:22: error: invalid suffix "_PIN" on integer constant #define Z_PROBE_PIN -1 ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:46:23: note: in expansion of macro ‘_READ’ #define READ(IO) _READ(IO) ^ Printer.h:487:56: note: in expansion of macro ‘READ’ return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN)); ^ Printer.h:487:61: note: in expansion of macro ‘Z_PROBE_PIN’ return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN)); ^ Printer.h: In static member function ‘static bool Printer::isZProbeHit()’: fastio.h:27:32: error: ‘DIO’ was not declared in this scope #define _READ(IO) ((bool)(DIO ## IO ## _RPORT & MASK(DIO ## IO ## _PIN))) ^ fastio.h:46:23: note: in expansion of macro ‘_READ’ #define READ(IO) _READ(IO) ^ Printer.h:487:35: note: in expansion of macro ‘READ’ return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN));