BCN3D / BCN3D-Moveo

Open Source 3D Printed Robotic Arm for educational purposes
MIT License
1.4k stars 470 forks source link

Error compiling firmware #20

Open HedronUser opened 6 years ago

HedronUser commented 6 years ago

I'm getting this error with Arduino 1.8.5

sketch\Marlin_main.cpp:2666: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: 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:

c:\users\dave\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\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'

HedronUser commented 6 years ago

Can I just change the reference name since it seems to have an overlap with existing internal stdio.h code...?