Skip to content

does not give a valid preprocessing token/Since 1.8.6 #7930

Closed
arduino/arduino-builder
#285
@Keugon

Description

@Keugon

PreWord iam not a Programmer just using Marlin for my 3d Printer
This Issue only appears when I try to compile it with 1.8.6 by 1.8.4 everything is fine i hope someone can identify the "Real Bug" here
*Bug report
Marlin Software.zip

Arduino: 1.8.6 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch\MarlinConfig.h:26:0,

                 from sketch\Marlin.h:36,

                 from sketch\Marlin_main.cpp:247:

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_DDR" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:95:36: note: in definition of macro '_SET_OUTPUT'

 #define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= _BV(DIO ## IO ## _PIN); } while (0)

                                    ^

sketch\fastio.h:113:30: note: in expansion of macro 'SET_OUTPUT'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                              ^

sketch\Marlin_main.cpp:914:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, HIGH);

     ^

sketch\Marlin_main.cpp:914:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, HIGH);

               ^

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_PIN" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:95:61: note: in definition of macro '_SET_OUTPUT'

 #define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= _BV(DIO ## IO ## _PIN); } while (0)

                                                             ^

sketch\fastio.h:113:30: note: in expansion of macro 'SET_OUTPUT'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                              ^

sketch\Marlin_main.cpp:914:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, HIGH);

     ^

sketch\Marlin_main.cpp:914:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, HIGH);

               ^

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_RPORT" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:90:41: note: in definition of macro '_WRITE'

 #define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

                                         ^

sketch\fastio.h:113:46: note: in expansion of macro 'WRITE'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                                              ^

sketch\Marlin_main.cpp:914:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, HIGH);

     ^

sketch\Marlin_main.cpp:914:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, HIGH);

               ^

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_WPORT" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:79:51: note: in definition of macro '_WRITE_C'

                                          {DIO ##  IO ## _WPORT |= _BV(DIO ## IO ## _PIN); } \

                                                   ^

sketch\fastio.h:102:21: note: in expansion of macro '_WRITE'

 #define WRITE(IO,V) _WRITE(IO,V)

                     ^

sketch\fastio.h:113:46: note: in expansion of macro 'WRITE'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                                              ^

sketch\Marlin_main.cpp:914:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, HIGH);

     ^

sketch\Marlin_main.cpp:914:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, HIGH);

               ^

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_PIN" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:79:78: note: in definition of macro '_WRITE_C'

                                          {DIO ##  IO ## _WPORT |= _BV(DIO ## IO ## _PIN); } \

                                                                              ^

sketch\fastio.h:102:21: note: in expansion of macro '_WRITE'

 #define WRITE(IO,V) _WRITE(IO,V)

                     ^

sketch\fastio.h:113:46: note: in expansion of macro 'WRITE'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                                              ^

sketch\Marlin_main.cpp:914:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, HIGH);

     ^

sketch\Marlin_main.cpp:914:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, HIGH);

               ^

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_WPORT" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:84:51: note: in definition of macro '_WRITE_C'

                                          {DIO ##  IO ## _WPORT &= ~_BV(DIO ## IO ## _PIN); } \

                                                   ^

sketch\fastio.h:102:21: note: in expansion of macro '_WRITE'

 #define WRITE(IO,V) _WRITE(IO,V)

                     ^

sketch\fastio.h:113:46: note: in expansion of macro 'WRITE'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                                              ^

sketch\Marlin_main.cpp:914:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, HIGH);

     ^

sketch\Marlin_main.cpp:914:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, HIGH);

               ^

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_PIN" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:84:79: note: in definition of macro '_WRITE_C'

                                          {DIO ##  IO ## _WPORT &= ~_BV(DIO ## IO ## _PIN); } \

                                                                               ^

sketch\fastio.h:102:21: note: in expansion of macro '_WRITE'

 #define WRITE(IO,V) _WRITE(IO,V)

                     ^

sketch\fastio.h:113:46: note: in expansion of macro 'WRITE'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                                              ^

sketch\Marlin_main.cpp:914:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, HIGH);

     ^

sketch\Marlin_main.cpp:914:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, HIGH);

               ^

In file included from sketch\MarlinConfig.h:26:0,

                 from sketch\Marlin.h:36,

                 from sketch\Marlin_main.cpp:247:

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_WPORT" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:75:48: note: in definition of macro '_WRITE_NC'

 #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= _BV(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~_BV(DIO ## IO ## _PIN); }; } while (0)

                                                ^

sketch\fastio.h:102:21: note: in expansion of macro '_WRITE'

 #define WRITE(IO,V) _WRITE(IO,V)

                     ^

sketch\fastio.h:113:46: note: in expansion of macro 'WRITE'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                                              ^

sketch\Marlin_main.cpp:914:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, HIGH);

     ^

sketch\Marlin_main.cpp:914:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, HIGH);

               ^

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_PIN" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:75:75: note: in definition of macro '_WRITE_NC'

 #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= _BV(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~_BV(DIO ## IO ## _PIN); }; } while (0)

                                                                           ^

sketch\fastio.h:102:21: note: in expansion of macro '_WRITE'

 #define WRITE(IO,V) _WRITE(IO,V)

                     ^

sketch\fastio.h:113:46: note: in expansion of macro 'WRITE'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                                              ^

sketch\Marlin_main.cpp:914:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, HIGH);

     ^

sketch\Marlin_main.cpp:914:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, HIGH);

               ^

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_WPORT" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:75:104: note: in definition of macro '_WRITE_NC'

 #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= _BV(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~_BV(DIO ## IO ## _PIN); }; } while (0)

                                                                                                        ^

sketch\fastio.h:102:21: note: in expansion of macro '_WRITE'

 #define WRITE(IO,V) _WRITE(IO,V)

                     ^

sketch\fastio.h:113:46: note: in expansion of macro 'WRITE'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                                              ^

sketch\Marlin_main.cpp:914:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, HIGH);

     ^

sketch\Marlin_main.cpp:914:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, HIGH);

               ^

In file included from sketch\MarlinConfig.h:26:0,

                 from sketch\Marlin.h:36,

                 from sketch\Marlin_main.cpp:247:

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_PIN" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:75:132: note: in definition of macro '_WRITE_NC'

 #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= _BV(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~_BV(DIO ## IO ## _PIN); }; } while (0)

                                                                                                                                    ^

sketch\fastio.h:102:21: note: in expansion of macro '_WRITE'

 #define WRITE(IO,V) _WRITE(IO,V)

                     ^

sketch\fastio.h:113:46: note: in expansion of macro 'WRITE'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                                              ^

sketch\Marlin_main.cpp:914:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, HIGH);

     ^

sketch\Marlin_main.cpp:914:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, HIGH);

               ^

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_DDR" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:95:36: note: in definition of macro '_SET_OUTPUT'

 #define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= _BV(DIO ## IO ## _PIN); } while (0)

                                    ^

sketch\fastio.h:113:30: note: in expansion of macro 'SET_OUTPUT'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                              ^

sketch\Marlin_main.cpp:927:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, LOW);

     ^

sketch\Marlin_main.cpp:927:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, LOW);

               ^

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_PIN" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:95:61: note: in definition of macro '_SET_OUTPUT'

 #define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= _BV(DIO ## IO ## _PIN); } while (0)

                                                             ^

sketch\fastio.h:113:30: note: in expansion of macro 'SET_OUTPUT'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                              ^

sketch\Marlin_main.cpp:927:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, LOW);

     ^

sketch\Marlin_main.cpp:927:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, LOW);

               ^

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_RPORT" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:90:41: note: in definition of macro '_WRITE'

 #define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

                                         ^

sketch\fastio.h:113:46: note: in expansion of macro 'WRITE'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                                              ^

sketch\Marlin_main.cpp:927:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, LOW);

     ^

sketch\Marlin_main.cpp:927:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, LOW);

               ^

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_WPORT" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:79:51: note: in definition of macro '_WRITE_C'

                                          {DIO ##  IO ## _WPORT |= _BV(DIO ## IO ## _PIN); } \

                                                   ^

sketch\fastio.h:102:21: note: in expansion of macro '_WRITE'

 #define WRITE(IO,V) _WRITE(IO,V)

                     ^

sketch\fastio.h:113:46: note: in expansion of macro 'WRITE'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                                              ^

sketch\Marlin_main.cpp:927:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, LOW);

     ^

sketch\Marlin_main.cpp:927:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, LOW);

               ^

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_PIN" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:79:78: note: in definition of macro '_WRITE_C'

                                          {DIO ##  IO ## _WPORT |= _BV(DIO ## IO ## _PIN); } \

                                                                              ^

sketch\fastio.h:102:21: note: in expansion of macro '_WRITE'

 #define WRITE(IO,V) _WRITE(IO,V)

                     ^

sketch\fastio.h:113:46: note: in expansion of macro 'WRITE'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                                              ^

sketch\Marlin_main.cpp:927:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, LOW);

     ^

sketch\Marlin_main.cpp:927:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, LOW);

               ^

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_WPORT" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:84:51: note: in definition of macro '_WRITE_C'

                                          {DIO ##  IO ## _WPORT &= ~_BV(DIO ## IO ## _PIN); } \

                                                   ^

sketch\fastio.h:102:21: note: in expansion of macro '_WRITE'

 #define WRITE(IO,V) _WRITE(IO,V)

                     ^

sketch\fastio.h:113:46: note: in expansion of macro 'WRITE'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                                              ^

sketch\Marlin_main.cpp:927:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, LOW);

     ^

sketch\Marlin_main.cpp:927:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, LOW);

               ^

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_PIN" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:84:79: note: in definition of macro '_WRITE_C'

                                          {DIO ##  IO ## _WPORT &= ~_BV(DIO ## IO ## _PIN); } \

                                                                               ^

sketch\fastio.h:102:21: note: in expansion of macro '_WRITE'

 #define WRITE(IO,V) _WRITE(IO,V)

                     ^

sketch\fastio.h:113:46: note: in expansion of macro 'WRITE'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                                              ^

sketch\Marlin_main.cpp:927:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, LOW);

     ^

sketch\Marlin_main.cpp:927:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, LOW);

               ^

In file included from sketch\MarlinConfig.h:26:0,

                 from sketch\Marlin.h:36,

                 from sketch\Marlin_main.cpp:247:

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_WPORT" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:75:48: note: in definition of macro '_WRITE_NC'

 #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= _BV(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~_BV(DIO ## IO ## _PIN); }; } while (0)

                                                ^

sketch\fastio.h:102:21: note: in expansion of macro '_WRITE'

 #define WRITE(IO,V) _WRITE(IO,V)

                     ^

sketch\fastio.h:113:46: note: in expansion of macro 'WRITE'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                                              ^

sketch\Marlin_main.cpp:927:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, LOW);

     ^

sketch\Marlin_main.cpp:927:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, LOW);

               ^

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_PIN" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:75:75: note: in definition of macro '_WRITE_NC'

 #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= _BV(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~_BV(DIO ## IO ## _PIN); }; } while (0)

                                                                           ^

sketch\fastio.h:102:21: note: in expansion of macro '_WRITE'

 #define WRITE(IO,V) _WRITE(IO,V)

                     ^

sketch\fastio.h:113:46: note: in expansion of macro 'WRITE'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                                              ^

sketch\Marlin_main.cpp:927:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, LOW);

     ^

sketch\Marlin_main.cpp:927:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, LOW);

               ^

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_WPORT" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:75:104: note: in definition of macro '_WRITE_NC'

 #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= _BV(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~_BV(DIO ## IO ## _PIN); }; } while (0)

                                                                                                        ^

sketch\fastio.h:102:21: note: in expansion of macro '_WRITE'

 #define WRITE(IO,V) _WRITE(IO,V)

                     ^

sketch\fastio.h:113:46: note: in expansion of macro 'WRITE'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                                              ^

sketch\Marlin_main.cpp:927:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, LOW);

     ^

sketch\Marlin_main.cpp:927:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, LOW);

               ^

In file included from sketch\MarlinConfig.h:26:0,

                 from sketch\Marlin.h:36,

                 from sketch\Marlin_main.cpp:247:

pins_GT2560_REV_A.h:93:32: error: pasting "/* Must be enabled at startup to keep power flowing*/" and "_PIN" does not give a valid preprocessing token

 #define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing

                                ^

sketch\fastio.h:75:132: note: in definition of macro '_WRITE_NC'

 #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= _BV(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~_BV(DIO ## IO ## _PIN); }; } while (0)

                                                                                                                                    ^

sketch\fastio.h:102:21: note: in expansion of macro '_WRITE'

 #define WRITE(IO,V) _WRITE(IO,V)

                     ^

sketch\fastio.h:113:46: note: in expansion of macro 'WRITE'

 #define OUT_WRITE(IO, v) do{ SET_OUTPUT(IO); WRITE(IO, v); }while(0)

                                              ^

sketch\Marlin_main.cpp:927:5: note: in expansion of macro 'OUT_WRITE'

     OUT_WRITE(SUICIDE_PIN, LOW);

     ^

sketch\Marlin_main.cpp:927:15: note: in expansion of macro 'SUICIDE_PIN'

     OUT_WRITE(SUICIDE_PIN, LOW);

               ^

exit status 1
pasting "/* Must be enabled at startup to keep power flowing*/" and "_DDR" does not give a valid preprocessing token

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions