[MacPorts] #60323: NanoVNA-QT: cc1plus: error: unrecognized command line option "-std=c++0x"
MacPorts
noreply at macports.org
Mon Apr 6 03:57:35 UTC 2020
#60323: NanoVNA-QT: cc1plus: error: unrecognized command line option "-std=c++0x"
-------------------------+----------------------
Reporter: ryandesign | Owner: ra1nb0w
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: NanoVNA-QT |
-------------------------+----------------------
Comment (by ryandesign):
Agreed about not wanting to use private functions if possible.
You can't remove a portgroup once it's been added, so only add it when you
need it. For example, if you only need it in one subport, then only add it
in that subport's block. Or if you only need it in the main port, do
something like:
{{{
if {${subport} eq ${name}} {
PortGroup ...
}
}}}
I spent some time trying to fix this today but there are so many things
wrong with the build system that it's becoming very frustrating.
It also seems like this is a continuation of work that began in a
different repo: https://github.com/xaxaxa-dev/vna. Do you know anything
about the relationship between these two repos? Not sure why but NanoVNA-
QT appears not to have forked that repo but rather to have imported all
the code into a fresh repo, thus losing the commit history. Should we be
making a libxavna port from xaxaxa-dev/vna instead? Would that be
compatible with NanoVNA-QT?
--
Ticket URL: <https://trac.macports.org/ticket/60323#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list