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

List:       kde-devel
Subject:    pixie (kde2 cvs) problem with FreeBSD 4.0
From:       "Carlos F. A. Paniago" <pan () panix ! ecof ! org ! br>
Date:       2000-04-30 15:15:08
[Download RAW message or body]

Hi again: I´m compiling the KDE2 (CVS) in FreeBSD 4.0 and Xfree86-4.0
I have the following error:
---
Making all in magick
gmake[4]: Entering directory `/home/pan/kde2/kdegraphics/pixie/plugins/magick'
/bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -
I./../../../libminimagick/ -I./../../libifplugin -I/usr/local/include -I/usr/X11
R6/include/X11/qt -I/usr/X11R6/include  -I/usr/local/include     -O2 -fno-except
ifplugin -I/usr/local/include -I/usr/X11R6/include/X11/qt -I/usr/X11R6/include \
-I/usr/local/include -O2 -fno-exceptions -fno-rtti -fno-check-new -Wall -pedantic -W \
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin \
                -Wp,-MD,.deps/magick.pp -c magick.cpp  -fPIC -DPIC -o magick.lo
magick.cpp: In function `void runMagickProgress(const char *, long int, long int)':
magick.cpp:16: warning: int format, long int arg (arg 2)
magick.cpp:15: warning: unused parameter `const char * text'
magick.cpp:15: warning: unused parameter `long int quantum'
magick.cpp: In function `void process()':
magick.cpp:708: passing `void (*)(const char *, long int, long int
1 of `SetMonitorHandler(void (*)(const char *, long long int, long long int))'
magick.cpp:707: warning: `void (* oldMonitor)(const char *, long long int, long
long int)' might be used uninitialized in this function
gmake[4]: *** [magick.lo] Error 1
gmake[4]: Leaving directory `/home/pan/kde2/kdegraphics/pixie/plugins/magick'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/home/pan/kde2/kdegraphics/pixie/plugins'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/pan/kde2/kdegraphics/pixie'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/pan/kde2/kdegraphics'
gmake: *** [all-recursive-am] Error 2             
----
To fix this error I have to change line 13 and 14 to:
---
extern "C" void runMagickProgress(const char *text, long long quantum,
                                  long long span)   
---
Or change the long int to long long. And the compiler (gcc 2.95.2) will be
happy...

	Paniago
-- 
Nome:  Carlos Fernando Assis Paniago
Email: pan@panix.ecof.org.br		e	pan@nma.embrapa.br
Web:   http://panix.ecof.org.br/	e	http://www.nma.embrapa.br/ 
--


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

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