[MacPorts] #40225: Build Error in QwtPlotZoomer
MacPorts
noreply at macports.org
Thu Aug 22 09:50:42 PDT 2013
#40225: Build Error in QwtPlotZoomer
------------------------+--------------------------------
Reporter: szygmunt@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Keywords: | Port: py27-pyqwt
------------------------+--------------------------------
Appears to be a problem with the sip creation of QwtPlotZoomer.cpp in
py27-pyqwt. Possibly related to the revision increase in sip? (I have
been unable to revert my sip install to test)
Started with a clean /opt installation on a new disk and hit the problem
while installing gnuradio.
{{{
:info:build /usr/bin/clang++ -c -pipe -fPIC -O2 -Wall -W -DNDEBUG
-DHAS_NUMPY -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -I.
-I/opt/local/include -I/opt/local/include/qwt -I/opt/local/incl
ude/python2.7
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/nu
mpy/core/include -I/opt/local/share/qt4/mkspecs/default
-I/opt/local/Library/Frameworks/QtCore.framework/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Headers -F/opt/local/lib
-F/opt/local/Library/Frameworks -o sipQwtQwtPlotZoomer.o
sipQwtQwtPlotZoomer.cpp
:info:build /usr/bin/clang++ -c -pipe -fPIC -O2 -Wall -W -DNDEBUG
-DHAS_NUMPY -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -I.
-I/opt/local/include -I/opt/local/include/qwt -I/opt/local/incl
ude/python2.7
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/nu
mpy/core/include -I/opt/local/share/qt4/mkspecs/default
-I/opt/local/Library/Frameworks/QtCore.framework/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Headers -F/opt/local/lib
-F/opt/local/Library/Frameworks -o sipQwtQwtPlotScaleItem.o
sipQwtQwtPlotScaleItem.cpp
:info:build In file included from ../sip/qwt5qt4/qwt_plot_zoomer.sip:77:
:info:build /opt/local/include/qwt/qwt_plot_zoomer.h:88:18: warning:
'QwtPlotZoomer::move' hides overloaded virtual function [-Woverloaded-
virtual]
:info:build virtual void move(double x, double y);
:info:build ^
:info:build /opt/local/include/qwt/qwt_plot_picker.h:106:18: note: hidden
overloaded virtual function 'QwtPlotPicker::move' declared here
:info:build virtual void move(const QPoint &);
:info:build ^
:info:build tmp-qwt5qt4/sipQwtQwtPlotZoomer.cpp:579:31: error: too few
arguments to function call, expected 2, have 1
:info:build QwtPlotZoomer::move(a0);
:info:build ~~~~~~~~~~~~~~~~~~~ ^
:info:build /opt/local/include/qwt/qwt_plot_zoomer.h:88:5: note: 'move'
declared here
:info:build virtual void move(double x, double y);
:info:build ^
}}}
Any advice on a fix or work around would be greatly appreciated.
--
Ticket URL: <https://trac.macports.org/ticket/40225>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list