Bug 316320

Summary: fix warnings
Product: [Unmaintained] telepathy Reporter: Alin M Elena <alinm.elena>
Component: text-uiAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: kde
Priority: NOR    
Version: git-latest   
Target Milestone: Future   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 316315    

Description Alin M Elena 2013-03-07 15:55:12 UTC
[ 86%] Building CXX object filters/searchexpansion/CMakeFiles/ktptextui_message_filter_searchexpansion.dir/searchexpansion-filter.o
cd /home/alin/lavello/ktp-text-ui/build/filters/searchexpansion && /usr/bin/c++   -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=18 -DKDE_DEPRECATED_WARNINGS -DMAKE_KTPTEXTUI_MESSAGE_FILTER_SEARCHEXPANSION_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_KEYWORDS -DQT_NO_STL -D_BSD_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -Werror -std=c++11  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2 -g -DNDEBUG -DQT_NO_DEBUG -fPIC -I/home/alin/lavello/ktp-text-ui/build/filters/searchexpansion -I/home/alin/lavello/ktp-text-ui/filters/searchexpansion -I/home/alin/lavello/ktp-text-ui/lib -I/home/alin/lavello/ktp-text-ui/build -I/usr/include/KDE -I/usr/include/QtXmlPatterns -I/usr/include/QtXml -I/usr/include/QtWebKit -I/usr/include/QtUiTools -I/usr/include/QtTest -I/usr/include/QtSvg -I/usr/include/QtSql -I/usr/include/QtScriptTools -I/usr/include/QtScript -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtMultimedia -I/usr/include/QtHelp -I/usr/include/QtDesigner -I/usr/include/QtDeclarative -I/usr/include/QtDBus -I/usr/include/QtAssistant -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/telepathy-qt4 -I/usr/include/telepathy-logger-0.2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/QtGStreamer    -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -fexceptions -o CMakeFiles/ktptextui_message_filter_searchexpansion.dir/searchexpansion-filter.o -c /home/alin/lavello/ktp-text-ui/filters/searchexpansion/searchexpansion-filter.cpp
In file included from /usr/include/KDE/KUriFilter:1:0,
                 from /home/alin/lavello/ktp-text-ui/filters/searchexpansion/searchexpansion-filter.cpp:24:
/usr/include/KDE/../kurifilter.h:732:110: error: ‘ProviderInfoList’ is deprecated [-Werror=deprecated-declarations]
cc1plus: all warnings being treated as errors
make[2]: *** [filters/searchexpansion/CMakeFiles/ktptextui_message_filter_searchexpansion.dir/searchexpansion-filter.o] Error 1
make[2]: Leaving directory `/home/alin/lavello/ktp-text-ui/build'
make[1]: *** [filters/searchexpansion/CMakeFiles/ktptextui_message_filter_searchexpansion.dir/all] Error 2
make[1]: Leaving directory `/home/alin/lavello/ktp-text-ui/build'
make: *** [all] Error 2


Reproducible: Always
Comment 1 David Edmundson 2013-03-08 02:51:56 UTC
Whoa.. that's a deprecated typedef. That's odd :)

Either compile with KDE_NO_DEPRECATED or we skip this warning. There's nothing else we can do.
Comment 2 Alin M Elena 2013-03-08 06:20:14 UTC
actually I will...
Comment 3 David Edmundson 2013-03-22 13:13:57 UTC
As discussed on RB we are not going to change our CMakeLists file to compile with KDE_NO_DEPRECATED by default, as that would mean if KDE 4.11 deprecated something our stuff would no longer work which would be silly.

Closing as invalid, if we could make Jenkins have this patch that would be fine.