compile error with 0.92.8

Little help please:
Arduino: 1.6.7 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch\HAL.h:33:0,

                 from sketch\Repetier.h:480,

                 from sketch\gcode.cpp:24:

sketch\gcode.cpp: In static member function 'static void GCode::reportFatalError()':

ui.h:1993: error: initializer fails to determine size of '__c'

 #define UI_ERROR_UPD(status) {uid.setStatusP(PSTR(status),true);uid.refreshPage();}

                                              ^

sketch\gcode.cpp:1044:2: note: in expansion of macro 'UI_ERROR_UPD'

  UI_ERROR_UPD(fatalErrorMsg)

  ^

ui.h:1993: error: array must be initialized with a brace-enclosed initializer

 #define UI_ERROR_UPD(status) {uid.setStatusP(PSTR(status),true);uid.refreshPage();}

                                              ^

sketch\gcode.cpp:1044:2: note: in expansion of macro 'UI_ERROR_UPD'

  UI_ERROR_UPD(fatalErrorMsg)

  ^

exit status 1
initializer fails to determine size of '__c'

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

Not sure what is wrong, please help

Comments

  • Hello,

    I have the same configuration and the same error
    configuration generated version 0.92.6 - compiles without errors

    T
  • already error was corrected and everything is working correctly after generating a new file

    Thank you for your quick response and help
  • but how do I fix that? would love to use latest and greatest. I used 0.92.3 and that one works fine.
  • Latest versions online contain the fix already. Just redownload.
Sign In or Register to comment.