[MacPorts] #58820: stellarium @0.19.1: error: missing default argument on parameter
MacPorts
noreply at macports.org
Sun Aug 11 00:35:44 UTC 2019
#58820: stellarium @0.19.1: error: missing default argument on parameter
--------------------+------------------------
Reporter: kencu | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: lion | Port: stellarium
--------------------+------------------------
This error occurs on 10.7, building with the default clang version:
{{{
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_stellarium/stellarium/work/stellarium-0.19.1/plugins/ArchaeoLines/src/ArchaeoLines.cpp:33:
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_stellarium/stellarium/work/stellarium-0.19.1/src/core/modules/SolarSystem.hpp:30:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_stellarium/stellarium/work/stellarium-0.19.1/src/core/modules/Planet.hpp:687:80:
error: expected ')'
:info:build const
QMap<QByteArray,int>& fixedAttributeLocations=QMap<QByteArray,int>());
:info:build
^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_stellarium/stellarium/work/stellarium-0.19.1/src/core/modules/Planet.hpp:682:43:
note: to match this '('
:info:build static QOpenGLShaderProgram* createShader(const
QString& name,
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_stellarium/stellarium/work/stellarium-0.19.1/src/core/modules/Planet.hpp:687:76:
error: expected '>'
:info:build const
QMap<QByteArray,int>& fixedAttributeLocations=QMap<QByteArray,int>());
:info:build
^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_stellarium/stellarium/work/stellarium-0.19.1/src/core/modules/Planet.hpp:687:80:
error: missing default argument on parameter
:info:build const
QMap<QByteArray,int>& fixedAttributeLocations=QMap<QByteArray,int>());
:info:build
^
:info:build 3 errors generated.
:info:build make[2]: *** [plugins/ArchaeoLines/src/CMakeFiles
/ArchaeoLines-static.dir/ArchaeoLines.cpp.o] Error 1
}}}
forcing the build to use clang-5.0 works.
--
Ticket URL: <https://trac.macports.org/ticket/58820>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list