Arduino: 1.8.12 (Linux), Плата:"Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
sketch/Marlin_main.cpp:2658:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");
^
In file included from sketch/SdFile.h:27:0,
from sketch/cardreader.h:8,
from sketch/Marlin_main.cpp:44:
SdBaseFile.h:38:8: error: using typedef-name 'fpos_t' after 'struct'
struct fpos_t {
^~~~~~
In file included from sketch/Marlin.h:10:0,
from sketch/Marlin_main.cpp:30:
/home/gekota/arduino-1.8.12/hardware/tools/avr/avr/include/stdio.h:950:33: note: 'fpos_t' has a previous declaration here
extension typedef long long fpos_t;
^~~~~~
sketch/Marlin_main.cpp: In function 'void set_bed_level_equation_lsq(double*)':
sketch/Marlin_main.cpp:989:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
planeNormal.debug("planeNormal");
^
In file included from sketch/SdBaseFile.cpp:24:0:
SdBaseFile.h:38:8: error: using typedef-name 'fpos_t' after 'struct'
struct fpos_t {
^~~~~~
In file included from sketch/Marlin.h:10:0,
from sketch/SdBaseFile.cpp:21:
/home/gekota/arduino-1.8.12/hardware/tools/avr/avr/include/stdio.h:950:33: note: 'fpos_t' has a previous declaration here
extension typedef long long fpos_t;
^~~~~~
sketch/SdBaseFile.cpp: In member function 'void SdBaseFile::getpos(fpos_t*)':
SdBaseFile.cpp:298:8: error: request for member 'position' in '* pos', which is of non-class type 'fpos_t {aka long long int}'
pos->position = curPosition_;
^~~~~~~~
SdBaseFile.cpp:299:8: error: request for member 'cluster' in '* pos', which is of non-class type 'fpos_t {aka long long int}'
pos->cluster = curCluster_;
^~~~~
sketch/SdBaseFile.cpp: In member function 'void SdBaseFile::setpos(fpos_t*)':
SdBaseFile.cpp:1496:23: error: request for member 'position' in '* pos', which is of non-class type 'fpos_t {aka long long int}'
curPosition_ = pos->position;
^~~~~~
SdBaseFile.cpp:1497:22: error: request for member 'cluster' in '* pos', which is of non-class type 'fpos_t {aka long long int}'
curCluster_ = pos->cluster;
^~~~~
In file included from sketch/SdFile.h:27:0,
from sketch/SdFile.cpp:23:
SdBaseFile.h:38:8: error: using typedef-name 'fpos_t' after 'struct'
struct fpos_t {
^~~~
In file included from sketch/Marlin.h:10:0,
from sketch/SdFile.cpp:20:
/home/gekota/arduino-1.8.12/hardware/tools/avr/avr/include/stdio.h:950:33: note: 'fpos_t' has a previous declaration here
extension typedef long long fpos_t;
^~~~~~
exit status 1
using typedef-name 'fpos_t' after 'struct'
Этот отчёт будет иметь больше информации с
включенной опцией Файл -> Настройки ->
"Показать подробный вывод во время компиляции"