1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

games/colums: Fix build with Clang 6

columns.cc:1363:19: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
        printf("Columns "VERSION" - Copyright (C) 1999,2000 Daniel Heck\n");
                         ^

http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475478_s336801/logs/errors/columns-1.2b_9.log
This commit is contained in:
Tobias Kortkamp 2018-07-30 07:09:38 +00:00
parent 51eed973ef
commit be089cfc81
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=475863

View File

@ -20,7 +20,7 @@
}
// read character chunks one by one
@@ -357,7 +357,7 @@ highscore_entry highscore[HIGHSCORE_ENTR
@@ -357,7 +357,7 @@ highscore_entry highscore[HIGHSCORE_ENTRIES];
void highscore_save()
{
@ -38,7 +38,13 @@
FILE *fp = fopen(fname,"rb");
if (fp != NULL) {
for (int i=0; i<HIGHSCORE_ENTRIES; i++) {
@@ -1365,6 +1365,7 @@ void eval_args(int argc, char **argv)
@@ -1360,11 +1360,12 @@ void eval_args(int argc, char **argv)
}
}
if (show_usage) {
- printf("Columns "VERSION" - Copyright (C) 1999,2000 Daniel Heck\n");
+ printf("Columns " VERSION " - Copyright (C) 1999,2000 Daniel Heck\n");
printf("usage: columns [--nosound] [--bg=filename.bmp]\n\n");
}
}