I need help with configuration coding issue on line 47

I just bought my first 3d printer and am I trying to configure my marlin code H . I am getting this error code for line 38.

please help I am a newbie to world of coding and 3d printing.

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

In file included from sketch\SdFile.h:27:0,

from sketch\cardreader.h:8,

from sketch\Marlin_main.cpp:44:

sketch\SdBaseFile.h:38:8: warning: character constant too long for its type

struct 'fpos_t' {

^

sketch\Marlin_main.cpp:2206: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: expected identifier before '\x5f74'

struct 'fpos_t' {

^

SdBaseFile.h:38: error: expected unqualified-id before '\x5f74'

exit status 1
expected identifier before '\x5f74'

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
g an error code for line

I can see nothing wrong with the program that you have not posted.

I do not get it either but every time I try to upload it . It gives me that error? I am puzzled by it. I have tried a couple things but it does not fix the error that why I am at a loss.

I suggest you re-read reply #1

(deleted)

Read UKHeliBob's reply again.

spycatcher2k:
But you choose to still not post your code?

I guess OP missed the subtle hint :wink:

 struct 'fpos_t' {

That should almost certainly be: struct fpos_t {
It look like somebody put in single-quotes where they don't belong.

     LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");

I think the #define for MACHINE_NAME or MSG_OFF is missing some expected double-quotes. If you put two string constants (text in "double-quotes") next to each other they get merged into one string constant. This line is expecting double-quotes around the defined constants so it can merge them together with a space between and a period at the end.

This should be self-explanatory:

sketch\Marlin_main.cpp:2206:36: warning: invalid suffix on literal; C++11 [b]requires a space between literal and string macro[/b] [-Wliteral-suffix]

         LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");

Add spaces:

         LCD_MESSAGEPGM(MACHINE_NAME " " MSG_OFF ".");

(Also makes it easier to read.)

If you are wondering what this “suffix” thing is about:
http://en.cppreference.com/w/cpp/language/user_literal