painting/qpainterpath.cpp:1094:15: warning: variable 'line' set but not used [-Wunused-but-set-variable] g++ -c -D_GNU_SOURCE -DMESA_EGL_NO_X11_HEADERS -pthread -I/include/glib-2.0 -I/lib/glib-2.0/include -I/include/gtk-2.0 -I/lib/gtk-2.0/include -I/include/cairo -I/include/pixman-1 -I/include/gdk-pixbuf-2.0 -I/include/libpng15 -I/include/pango-1.0 -pthread -I/include/freetype2 -I/include -I/include/atk-1.0 -I/include/glib-2.0 -I/lib/glib-2.0/include -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -I/include/freetype2 -I/include -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++-64 -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -I../3rdparty/xorg -I/include/freetype2 -I/include/freetype2 -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I/usr/X11R6/include -I.uic/release-shared -o .obj/release-shared/qpathclipper.o painting/qpathclipper.cpp g++ -c -D_GNU_SOURCE -DMESA_EGL_NO_X11_HEADERS -pthread -I/include/glib-2.0 -I/lib/glib-2.0/include -I/include/gtk-2.0 -I/lib/gtk-2.0/include -I/include/cairo -I/include/pixman-1 -I/include/gdk-pixbuf-2.0 -I/include/libpng15 -I/include/pango-1.0 -pthread -I/include/freetype2 -I/include -I/include/atk-1.0 -I/include/glib-2.0 -I/lib/glib-2.0/include -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -I/include/freetype2 -I/include -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++-64 -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -I../3rdparty/xorg -I/include/freetype2 -I/include/freetype2 -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I/usr/X11R6/include -I.uic/release-shared -o .obj/release-shared/qpdf.o painting/qpdf.cpp In file included from ../../include/QtGui/private/qcups_p.h:1:0, from painting/qpdf.cpp:47: ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:78:11: error: 'ppd_file_t' does not name a type ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:80:11: error: 'ppd_file_t' does not name a type ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:81:11: error: 'ppd_option_t' does not name a type ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:84:11: error: 'ppd_option_t' does not name a type ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:87:34: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:87:47: error: template argument 1 is invalid ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:103:56: error: 'ppd_group_t' does not name a type ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:103:77: error: ISO C++ forbids declaration of 'group' with no type [-fpermissive] ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:104:62: error: 'ppd_group_t' does not name a type ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:104:75: error: ISO C++ forbids declaration of 'group' with no type [-fpermissive] ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:108:11: error: 'ppd_option_t' does not name a type ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:110:5: error: 'ppd_file_t' does not name a type painting/qpdf.cpp: In member function 'virtual void QPdfBaseEngine::setProperty(QPrintEngine::PrintEnginePropertyKey, const QVariant&)': painting/qpdf.cpp:1469:5: warning: case value '65024' not in enumerated type 'QPrintEngine::PrintEnginePropertyKey' [-Wswitch] painting/qpdf.cpp:1463:5: warning: case value '65025' not in enumerated type 'QPrintEngine::PrintEnginePropertyKey' [-Wswitch] painting/qpdf.cpp:1466:5: warning: case value '65026' not in enumerated type 'QPrintEngine::PrintEnginePropertyKey' [-Wswitch] painting/qpdf.cpp:1472:5: warning: case value '65027' not in enumerated type 'QPrintEngine::PrintEnginePropertyKey' [-Wswitch] painting/qpdf.cpp: In member function 'virtual QVariant QPdfBaseEngine::property(QPrintEngine::PrintEnginePropertyKey) const': painting/qpdf.cpp:1572:5: warning: case value '65024' not in enumerated type 'QPrintEngine::PrintEnginePropertyKey' [-Wswitch] painting/qpdf.cpp:1566:5: warning: case value '65025' not in enumerated type 'QPrintEngine::PrintEnginePropertyKey' [-Wswitch] painting/qpdf.cpp:1569:5: warning: case value '65026' not in enumerated type 'QPrintEngine::PrintEnginePropertyKey' [-Wswitch] painting/qpdf.cpp:1575:5: warning: case value '65027' not in enumerated type 'QPrintEngine::PrintEnginePropertyKey' [-Wswitch] g++ -c -D_GNU_SOURCE -DMESA_EGL_NO_X11_HEADERS -pthread -I/include/glib-2.0 -I/lib/glib-2.0/include -I/include/gtk-2.0 -I/lib/gtk-2.0/include -I/include/cairo -I/include/pixman-1 -I/include/gdk-pixbuf-2.0 -I/include/libpng15 -I/include/pango-1.0 -pthread -I/include/freetype2 -I/include -I/include/atk-1.0 -I/include/glib-2.0 -I/lib/glib-2.0/include -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -I/include/freetype2 -I/include -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++-64 -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -I../3rdparty/xorg -I/include/freetype2 -I/include/freetype2 -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I/usr/X11R6/include -I.uic/release-shared -o .obj/release-shared/qpen.o painting/qpen.cpp make[1]: *** [.obj/release-shared/qpdf.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/src/build/qt4/qt-everywhere-opensource-src-4.6.4/src/gui' make: *** [sub-gui-make_default-ordered] Error 2