Compilation error with gcc 8.1.0
seadra opened this issue · comments
seadra commented
The latest stable gcc gives the following error:
source/sdl/dialogs/about.cpp:786:15: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
{ EMUNAME" "VERSION" (c)1998-2015 " HANDLE, NULL, NULL },
zelurker commented
Sorry, 8.1 is unstable for gentoo.
Even for debian testing, they use gcc-7.2 (and 7.2 and 7.3 are marked as
testing in gentoo).
Too early to do some tests with this, that's what happens when you use too
recent stuff...
2018-05-26 0:53 GMT+02:00 seadra <notifications@github.com>:
… The latest stable gcc gives the following error:
source/sdl/dialogs/about.cpp:786:15: error: invalid suffix on literal;
C++11 requires a space between literal and identifier
[-Wreserved-user-defined-literal]
{ EMUNAME" "VERSION" (c)1998-2015 " HANDLE, NULL, NULL },
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#22>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACu5D0tbwRx2pf-gqUSrap8f78rnVXgGks5t2ItUgaJpZM4UOqbp>
.
seadra commented
Arch Linux based distros have all migrated to 8.1 FYI.
zelurker commented
Too bad, I only test on gentoo and debian. I guess it uses c++ 2011
standard by default, there is probably a command line option to disable
that, so you would need to add this to the CFLAGS to compile it. Or just
wait... !
2018-05-26 17:09 GMT+02:00 seadra <notifications@github.com>:
… Arch Linux based distros have all migrated to 8.1 FYI.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#22 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACu5D1oEhZTHzGId2KJByP9khnIR9YOXks5t2XAngaJpZM4UOqbp>
.
zelurker commented
I guess this one was fixed long ago now, using gcc-9.2.0 from arch... closing issue...