Version: (using KDE Devel) Installed from: Compiled sources Compiler: gcc version 2.95.3 20010315 (release) OS: Solaris Trying to compile kdeedu HEAD on my Solaris 8 x86 box breaks with source='dict.cpp' object='dict.o' libtool=no \ depfile='.deps/dict.Po' tmpdepfile='.deps/dict.TPo' \ depmode=gcc /bin/ksh ../admin/depcomp \ g++ -pipe -DHAVE_CONFIG_H -I. -I. -I.. -I/vol/kde-cvs/include -I/vol/qt-3.2.3/include -I/vol/local/include -I/vol/graphics/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o dict.o `test -f 'dict.cpp' || echo './'`dict.cpp dict.cpp: In method `Dict::File::~File()': dict.cpp:117: ANSI C++ forbids implicit conversion from `void *' in argument passing dict.cpp:121: ANSI C++ forbids implicit conversion from `void *' in argument passing make[3]: *** [dict.o] Error 1 make[3]: Leaving directory `/vol/src/kde/cvs/kdeedu/kiten' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/vol/src/kde/cvs/kdeedu/kiten' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/vol/src/kde/cvs/kdeedu' make: *** [all] Error 2
Created attachment 3808 [details] patch for kdeedu/kiten/dict.cpp Applying the attached patch fixed this issue for me; it's basically the same as in bug 65234
Agreed.
Subject: kdeedu/kiten CVS commit by mueller: fix compile CCMAIL: 70972-done@bugs.kde.org M +2 -2 dict.cpp 1.48 --- kdeedu/kiten/dict.cpp #1.47:1.48 @@ -115,9 +115,9 @@ File::~File(void) { if (dictPtr != (unsigned char*) MAP_FAILED) - munmap((void *)dictPtr, dictFile.size()); + munmap((char *)dictPtr, dictFile.size()); dictFile.close(); if (indexPtr != (uint32_t*) MAP_FAILED) - munmap((void *)indexPtr, indexFile.size()); + munmap((char *)indexPtr, indexFile.size()); indexFile.close(); }