[MacPorts] #59907: upc @5.2.0.1: error: invalid suffix on literal; C++11 requires a space between literal and identifier
MacPorts
noreply at macports.org
Fri Jan 3 03:37:23 UTC 2020
#59907: upc @5.2.0.1: error: invalid suffix on literal; C++11 requires a space
between literal and identifier
------------------------+----------------------
Reporter: ryandesign | Owner: tenomoto
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Keywords: | Port: upc
------------------------+----------------------
[https://build.macports.org/builders/ports-10.6_x86_64-builder/builds/13873/steps
/install-port/logs/stdio upc doesn't build in C++11 mode]:
(This log is from 10.6, on which we use clang++ 9 which defaults to C++11
mode. In time, newer clang versions will appear in Xcode, at which point
this problem will affect newer systems too.)
{{{
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_upc/upc/work/upc-5.2.0.1/gcc/config/darwin.h:538:29:
error: invalid suffix on literal; C++11 requires a space between literal
and identifier [-Wreserved-user-defined-literal]
fprintf (FILE, "\t.space "HOST_WIDE_INT_PRINT_UNSIGNED"\n", SIZE)
^
}}}
You could fix this issue, which is easy, or if there are other harder-to-
fix issues as well then you could add a flag to specify that an earlier
C++ standard should be used.
--
Ticket URL: <https://trac.macports.org/ticket/59907>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list