[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#526211: FTBFS with GCC 4.4: missing #include



Package: kdebindings
Version: 4:4.2.2-3
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-4.4

Your package fails to build with GCC 4.4, which has cleaned up some more
C++ headers.  You always have to #include headers directly and cannot
rely for things to be included indirectly.

You can reproduce this problem with gcc-snapshot from unstable or
gcc-4.4 from experimental.

I didn't generated a patch since I'd assume this is fixed upstream
already.

> Automatic build of kdebindings_4:4.2.2-3 on em64t by sbuild/amd64 0.53
...
> [ 84%] Building CXX object csharp/qyoto/CMakeFiles/qyotoshared.dir/src/qyotosmokebinding.o
> cd csharp/qyoto && /usr/lib/gcc-snapshot/bin/c++   -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT -Dqyotoshared_EXPORTS -Wall -g -O2 -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG -DQT_NO_DEBUG -fPIC -I. -I../../../csharp/qyoto -I../../.. -I../.. -I../../../smoke -I../../../smoke/qt -I../../../csharp/qyoto/src -I/usr/include/KDE -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4   -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/qyotoshared.dir/src/qyotosmokebinding.o -c ../../../csharp/qyoto/src/qyotosmokebinding.cpp
> ../../../csharp/qyoto/src/qyotosmokebinding.cpp: In member function 'virtual void Qyoto::Binding::deleted(short int, void*)':
> ../../../csharp/qyoto/src/qyotosmokebinding.cpp:47: error: 'printf' was not declared in this scope
> ../../../csharp/qyoto/src/qyotosmokebinding.cpp:48: error: 'stdout' was not declared in this scope
> ../../../csharp/qyoto/src/qyotosmokebinding.cpp:48: error: 'fflush' was not declared in this scope
> ../../../csharp/qyoto/src/qyotosmokebinding.cpp: In member function 'virtual bool Qyoto::Binding::callMethod(short int, void*, Smoke::StackItem*, bool)':
> ../../../csharp/qyoto/src/qyotosmokebinding.cpp:92: error: 'printf' was not declared in this scope
> ../../../csharp/qyoto/src/qyotosmokebinding.cpp:99: error: 'printf' was not declared in this scope
> ../../../csharp/qyoto/src/qyotosmokebinding.cpp:100: error: 'stdout' was not declared in this scope
> ../../../csharp/qyoto/src/qyotosmokebinding.cpp:100: error: 'fflush' was not declared in this scope
> make[3]: *** [csharp/qyoto/CMakeFiles/qyotoshared.dir/src/qyotosmokebinding.o] Error 1
> make[3]: Leaving directory `/build/tbm/kdebindings-4.2.2/obj-x86_64-linux-gnu'
> make[2]: *** [csharp/qyoto/CMakeFiles/qyotoshared.dir/all] Error 2
> make[2]: Leaving directory `/build/tbm/kdebindings-4.2.2/obj-x86_64-linux-gnu'

-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: