[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    kdelibs/kdefx/kcpuinfo.cpp (1.2) broken?
From:       Brian Ledbetter <brian () shadowcom ! net>
Date:       2003-04-27 2:38:25
[Download RAW message or body]

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@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@shadowcom.net>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic