[Debian-med-packaging] Bug#811866: More C++ help needed (Was: Bug#811866: fixed in hyphy 2.2.6+dfsg-4)
Jason Crain
jason at inspiresomeone.us
Sun Aug 14 20:45:07 UTC 2016
On 2016-08-14, Andreas Tille <andreas at an3as.eu> wrote:
> Since there was no answer to this question I just did this since it
> seems like a working solution. Unfortunately there are further build
> issues I can't deal with:
>
...
> /build/hyphy-2.2.6+dfsg/src/gui/HYChartWindow.cpp:3010:54: error: no matching function for call to '_Formula::_Formula(_String&, NULL, bool)'
> _Formula f (*thisString,nil,false);
> ^
...
> /build/hyphy-2.2.6+dfsg/src/core/include/formula.h:87:5: note: candidate: _Formula::_Formula(_String&, _VariableContainer*, _String*)
> _Formula (_String&,_VariableContainer* theParent=nil,_String* errorString = nil);
> ^~~~~~~~
> /build/hyphy-2.2.6+dfsg/src/core/include/formula.h:87:5: note: no known conversion for argument 3 from 'bool' to '_String*'
Previous versions of the compiler allow conversion from false to a null
pointer, so this used to work, though maybe with a warning. Replacing
false with nullptr or nil or whatever upstream uses for null will
probably fix it.
And also, it does look like there's a response for your other queston on
https://bugs.debian.org/811866
More information about the Debian-med-packaging
mailing list