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

Bug#368884: FTBFS with GCC 4.2: invalid conversion



Package: kdegraphics
Version: 4:3.5.2-1

Your package fails to build with GCC 4.2.  Version 4.2 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  The bug below is in your package
and not because I'm using a snapshot of the compiler so please take a
look at it.  You can reproduce this with the gcc-snapshot package.


> Automatic build of kdegraphics_4:3.5.2-1 on test.track.rz.uni-augsburg.de by sbuild/powerpc 0.44
...
>  g++ -DHAVE_CONFIG_H -I. -I/build/tbm/kdegraphics-3.5.2/./ksvg/impl/libs/libtext2path/src -I../../../../.. -I/usr/include -I/usr/include/freetype2 -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -c libtext2path_la.all_cpp.cpp  -fPIC -DPIC -o .libs/libtext2path_la.all_cpp.o
> /build/tbm/kdegraphics-3.5.2/./ksvg/impl/libs/libtext2path/src/GlyphTracer.cpp: In member function 'FT_Outline_Funcs* T2P::GlyphTracer::outlineFuncs()':
> /build/tbm/kdegraphics-3.5.2/./ksvg/impl/libs/libtext2path/src/GlyphTracer.cpp:65: error: invalid conversion from 'int (*)(FT_Vector*, void*)' to 'int (*)(const FT_Vector*, void*)'
> /build/tbm/kdegraphics-3.5.2/./ksvg/impl/libs/libtext2path/src/GlyphTracer.cpp:66: error: invalid conversion from 'int (*)(FT_Vector*, void*)' to 'int (*)(const FT_Vector*, void*)'
> /build/tbm/kdegraphics-3.5.2/./ksvg/impl/libs/libtext2path/src/GlyphTracer.cpp:67: error: invalid conversion from 'int (*)(FT_Vector*, FT_Vector*, void*)' to 'int (*)(const FT_Vector*, const FT_Vector*, void*)'
> /build/tbm/kdegraphics-3.5.2/./ksvg/impl/libs/libtext2path/src/GlyphTracer.cpp:68: error: invalid conversion from 'int (*)(FT_Vector*, FT_Vector*, FT_Vector*, void*)' to 'int (*)(const FT_Vector*, const FT_Vector*, const FT_Vector*, void*)'
> /build/tbm/kdegraphics-3.5.2/./ksvg/impl/libs/libtext2path/src/Converter.cpp: In member function 'T2P::SharedGlyph T2P::Converter::calcGlyph(const T2P::GlyphRenderParams*, T2P::Affine&, bool)':
> /build/tbm/kdegraphics-3.5.2/./ksvg/impl/libs/libtext2path/src/Converter.cpp:195: warning: dereferencing type-punned pointer will break strict-aliasing rules
> make[7]: *** [libtext2path_la.all_cpp.lo] Error 1

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



Reply to: