morevnaproject/pencil — Issue #9: Current Git master doesn't build on Ubuntu 11.10
Author: prokoudine
Created: 2011-12-12 05:35:19+00:00
State: open

g++ -c -pipe -g -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_PHONON_LIB -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtScript -I/usr/include/phonon -I/usr/include/qt4 -I. -Isrc -Isrc/external/flash -Isrc/external/linux -Isrc/external/macosx -Isrc/external/win32 -Isrc/graphics -Isrc/graphics/bitmap -Isrc/graphics/vector -Isrc/interface -Isrc/structure -I. -Iliblinux -I/usr/include/qt4/phonon_compat -I/usr/X11R6/include -I.moc -o .obj/beziercurve.o src/graphics/vector/beziercurve.cpp
src/graphics/vector/beziercurve.cpp: In member function 'void BezierCurve::drawPath(QPainter&, Object*, QMatrix, bool, bool, qreal)':
src/graphics/vector/beziercurve.cpp:374:9: warning: unused variable 'squareWidth' [-Wunused-variable]
src/graphics/vector/beziercurve.cpp: In static member function 'static qreal BezierCurve::findDistance(BezierCurve, int, QPointF, QPointF&, qreal&)':
src/graphics/vector/beziercurve.cpp:638:23: warning: variable 'k0' set but not used [-Wunused-but-set-variable]
src/graphics/vector/beziercurve.cpp: In static member function 'static bool BezierCurve::findIntersection(BezierCurve, int, BezierCurve, int, QList&)':
src/graphics/vector/beziercurve.cpp:705:50: error: taking address of temporary [-fpermissive]
make: *** [.obj/beziercurve.o] Error 1