sonnet + hunspell - compile fails

Treeve Jelbert treeve at scarlet.be
Tue Apr 2 15:24:38 UTC 2013


Generating moc_kspell_hunspellclient.cpp
[11/15] Building CXX object 
src/plugins/hunspell/CMakeFiles/kspell_hunspell.dir/kspell_hunspellclient.cpp.o
[12/15] Building CXX object 
src/plugins/hunspell/CMakeFiles/kspell_hunspell.dir/kspell_hunspelldict.cpp.o
[13/15] 
[14/15] Building CXX object 
src/plugins/hunspell/CMakeFiles/kspell_hunspell.dir/kspell_hunspell_automoc.cpp.o
FAILED: /var/lib/sorcery/build/c++   -DQT_CORE_LIB -
DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_NO_URL_CAST_FROM_STRING -D_BSD_SOURCE -
D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=500 -
Dkspell_hunspell_EXPORTS -march=native -mtune=native -m64 -pipe -ffast-math -
funroll-loops -O3  -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 -
Werror=return-type -fvisibility=hidden -fvisibility-inlines-hidden -O2 -
DNDEBUG -DQT_NO_DEBUG -fPIC -Isrc/plugins/hunspell -
I/var/git/kde5libs/sonnet/src/plugins/hunspell -Isrc/core -
I/var/git/kde5libs/sonnet/src/core -I/opt/qt5/include -
I/opt/qt5/include/QtCore -I/opt/qt5/mkspecs/linux-g++-64 -MMD -MT 
src/plugins/hunspell/CMakeFiles/kspell_hunspell.dir/kspell_hunspellclient.cpp.o 
-MF 
"src/plugins/hunspell/CMakeFiles/kspell_hunspell.dir/kspell_hunspellclient.cpp.o.d" 
-o 
src/plugins/hunspell/CMakeFiles/kspell_hunspell.dir/kspell_hunspellclient.cpp.o 
-c /var/git/kde5libs/sonnet/src/plugins/hunspell/kspell_hunspellclient.cpp
/var/git/kde5libs/sonnet/src/plugins/hunspell/kspell_hunspellclient.cpp:30:52: 
error: default argument given for parameter 1 of 
'HunspellClient::HunspellClient(QObject*)' [-fpermissive]
In file included from 
/var/git/kde5libs/sonnet/src/plugins/hunspell/kspell_hunspellclient.cpp:21:0:
/var/git/kde5libs/sonnet/src/plugins/hunspell/kspell_hunspellclient.h:39:5: 
error: after previous specification in 
'HunspellClient::HunspellClient(QObject*)' [-fpermissive]
/var/git/kde5libs/sonnet/src/plugins/hunspell/kspell_hunspellclient.cpp: In 
member function 'virtual QStringList HunspellClient::languages() const':
/var/git/kde5libs/sonnet/src/plugins/hunspell/kspell_hunspellclient.cpp:56:36: 
error: passing 'const QString' as 'this' argument of 'QString& 
QString::remove(const QString&, Qt::CaseSensitivity)' discards qualifiers [-
fpermissive]
/var/git/kde5libs/sonnet/src/plugins/hunspell/kspell_hunspelldict.cpp:74:6: 
warning: unused parameter 'bad' [-Wunused-parameter]
/var/git/kde5libs/sonnet/src/plugins/hunspell/kspell_hunspelldict.cpp:74:6: 
warning: unused parameter 'good' [-Wunused-parameter]
/var/git/kde5libs/sonnet/src/plugins/hunspell/kspell_hunspelldict.cpp:91:6: 
warning: unused parameter 'word' [-Wunused-parameter]
ninja: build stopped: subcommand failed.


More information about the Kde-frameworks-devel mailing list