mohsinbcm / linux-syscall-support

Automatically exported from code.google.com/p/linux-syscall-support
0 stars 0 forks source link

Invalid suffix on Literal with GCC 4.8 and C++11 #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. compile with GCC 4.8 and -std=gnu++11 

What is the expected output? What do you see instead?

Expected: No warnings. I see: "warning: invalid suffix on literal; C++11 
requires a space between literal and identifier [-Wliteral-suffix] "

What version of the product are you using? On what operating system?

GCC 4.8 on Windows

Please provide any additional information below.

Fix by adding spaces in:
 ..."SYS_SYSCALL_ENTRYPOINT"...
->
 ..." SYS_SYSCALL_ENTRYPOINT "...

Original issue reported on code.google.com by posch.an...@googlemail.com on 3 Apr 2014 at 9:17

GoogleCodeExporter commented 9 years ago
Patch

Original comment by nc...@mozilla.com on 20 May 2014 at 7:37

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the patch.  I've committed it:
https://code.google.com/p/linux-syscall-support/source/detail?r=28

Original comment by mseaborn@chromium.org on 28 May 2014 at 6:01