* Andreas Tille <andr...@an3as.eu>, 2016-08-14, 21:53:
/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);
                                                     ^

If you build against g++-5 (or look up old build logs on buildd.d.o), you get a helpful warning for this line:

HYChartWindow.cpp:3010:54: warning: converting 'false' to pointer type for argument 
3 of '_Formula::_Formula(_String&, _VariableContainer*, _String*)' 
[-Wconversion-null]
                    _Formula f (*thisString,nil,false);
                                                     ^

This code relied on automatic conversion from "false" to null pointer, which was always a dubious feature, and now no longer works in GCC 6. Changing "false" to "nil" should fix this.

--
Jakub Wilk

Reply via email to