> > kprocctrl.cpp: In method `KProcessController::KProcessController()':
> > kprocctrl.cpp:62: assignment to `void (*)(int)' from `void (*)()'
> > gmake[2]: *** [kprocctrl.lo] Error 1
> When I've compiled KDE 1.0 on IRIX, I've got this error. I've solve
> this problem by editing file and add a cast to (void(*)(int)).
> Exemple:
> in line 62 in file kprocctrl.cpp, you've got somthing like this:
> signal(25,handler);
> change to
> signal(25,(void(*)(int))handler);
> It isn't a perfect solution, they must be a better solution, but this
> solution work.
This is one of those * C/C++ name overlap things.
I tried the above cast in the early days of running KDE, and found that
it was responsible for crashing KDE sometimes (okay, possibly).
I found the better solution of changing the Makefile for these files to
add '-D_LANGUAGE_C_PLUS_PLUS' to the 'CXXFLAGS=' line. This tells the
appropriate .h file what to expect, so it finds the right binding.
Good luck,
--chris sterritt