Bug 232992 - games/crimson: unbreak ( invalid suffix on literal; C++11 requires a space)
Summary: games/crimson: unbreak ( invalid suffix on literal; C++11 requires a space)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias Kortkamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-05 15:36 UTC by Walter Schwarzenfeld
Modified: 2018-11-05 21:42 UTC (History)
0 users

See Also:


Attachments
svn-diff-crimson (3.60 KB, patch)
2018-11-05 15:36 UTC, Walter Schwarzenfeld
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Walter Schwarzenfeld freebsd_triage 2018-11-05 15:36:30 UTC
Created attachment 198977 [details]
svn-diff-crimson

Unbreak crimson:

main.cpp:176:31: error: invalid suffix on literal; C++11 requires a space
between literal and identifier [-Wreserved-user-defined-literal]
        cout << PROGRAMNAME" "VERSION << endl;
Comment 1 Tobias Kortkamp freebsd_committer freebsd_triage 2018-11-05 21:42:54 UTC
Thanks!

FYI there is no need to bump the revision if the port did not build
before.
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-11-05 21:42:56 UTC
A commit references this bug:

Author: tobik
Date: Mon Nov  5 21:42:25 UTC 2018
New revision: 484225
URL: https://svnweb.freebsd.org/changeset/ports/484225

Log:
  games/crimson: Unbreak build with Clang 6 (C++14 by default)

  main.cpp:176:31: error: invalid suffix on literal; C++11 requires a space
        between literal and identifier [-Wreserved-user-defined-literal]
          cout << PROGRAMNAME" "VERSION << endl;
                                ^

  PR:		232992
  Submitted by:	w.schwarzenfeld@utanet.at

Changes:
  head/games/crimson/Makefile
  head/games/crimson/files/patch-src__cf-main.cpp
  head/games/crimson/files/patch-src__common-font.cpp
  head/games/crimson/files/patch-tools_cfed.cpp