[MacPorts] #61304: sentencepiece @0.1.84: error: expected unqualified-id
MacPorts
noreply at macports.org
Sun Oct 11 12:38:41 UTC 2020
#61304: sentencepiece @0.1.84: error: expected unqualified-id
------------------------+---------------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Keywords: | Port: sentencepiece
------------------------+---------------------------
sentencepiece fails to build in C++17 mode, which is the default for newer
compilers like clang 9:
{{{
/opt/local/var/macports/build/_Users_travis_build_macports_macports-
ports_textproc_sentencepiece/sentencepiece/work/sentencepiece-0.1.84/version:1:1:
error: expected unqualified-id
0.1.84
^
}}}
The project's version file would need to be renamed, for example to
version.txt, so that it does not collide with the C++17 header <version>.
If the project's version file is referenced anywhere, those references
would need to be updated.
--
Ticket URL: <https://trac.macports.org/ticket/61304>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list