kdelibs/kdefx/kcpuinfo.cpp (1.2) broken?
Brian Ledbetter
brian at shadowcom.net
Sun Apr 27 03:38:25 BST 2003
Greetings, list!
Not sure if you guys are encountering the same problem as I am, but
kcpuinfo.cpp is not compiling for me, due to the following error:
kcpuinfo.cpp: In function `int getCpuFeatures()':
kcpuinfo.cpp:107: function `void oldhandler(int)' is initialized like a
variable
Shouldn't line 107 look like this:
__sighandler_t *oldhandler = std::signal( SIGILL, sighandler );
...instead of:
__sighandler_t oldhandler = std::signal( SIGILL, sighandler );
Of course, if this works for y'all, it may just be an issue with my
compiler. Here's my info:
$ uname -a
FreeBSD tokyo.home.shadowcom.net 5.0-RELEASE-p6 FreeBSD 5.0-RELEASE-p6 #2: Fri Mar 28 22:16:47 EST 2003 root at newbie.home.shadowcom.net:/usr/src/sys/i386/compile/TOKYO i386
$ gcc --version
gcc (GCC) 3.2.1 [FreeBSD] 20021119 (release)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I figured I would bring this up with The List, rather than commit a "fix" that
breaks everyone but me. :)
Regards,
--
Brian Ledbetter <brian at shadowcom.net>
More information about the kde-core-devel
mailing list