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

List:       kde-devel
Subject:    Re: Several modules from HEAD from 2 days ago does not compile (long, tried cvs up).
From:       Christoph Cullmann <cullmann () babylon2k ! de>
Date:       2002-06-01 22:56:51
[Download RAW message or body]

On Sunday 02 June 2002 00:25, Piotr Szymanski wrote:
> Hello,
> Several plg from HEAD do no compile.
> I am using:
> - gcc 3.1 cvs20020423
> - qt 3.0.4 (objprelinked)
> - kde from 30.05.2002 HEAD (objprelinked)
> - rpm 4.0.4
> - objprelink 1.4
> - binutils 2.12.90.0.4-1
> - automake 1.5
> - autoconf 2.52
> - alsa 0.9.0.rc1

perhaps not using objprelink would be a good idea if you want a working 
compile.

>
> Here is what I get:
>
> << kdeadmin >>
> ++ ./configure line:
> ./configure --with-shadow --with-pam=yes --enable-objprelink
> --prefix=/usr/X11R6
> -- ./configure line
>
> ++ make output
> make[3]: Entering directory `/mnt/data/HEAD/kdeadmin/kpackage'
> source='rpmMessages.c' object='rpmMessages.o' libtool=no \
> depfile='.deps/rpmMessages.Po' tmpdepfile='.deps/rpmMessages.TPo' \
> depmode=gcc3 /bin/sh ../admin/depcomp \
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/rpm -I/usr/X11R6/include/qt
> -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -ansi -W -Wall
> -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2   -c `test -f rpmMessages.c || echo
> './'`rpmMessages.c
> In file included from /usr/include/rpm/rpmlib.h:8,
>                  from rpmMessages.c:12:
> /usr/include/rpm/rpmio.h:614: syntax error before "int"
> /usr/include/rpm/rpmio.h:617: syntax error before "int"
> /usr/include/rpm/rpmio.h:620: syntax error before "int"
> /usr/include/rpm/rpmio.h:623: syntax error before "int"
> /usr/include/rpm/rpmio.h:626: syntax error before "int"
> /usr/include/rpm/rpmio.h:629: syntax error before "int"
> /usr/include/rpm/rpmio.h:632: syntax error before "int"
> /usr/include/rpm/rpmio.h:636: syntax error before "int"
> /usr/include/rpm/rpmio.h:639: syntax error before "int"
> In file included from /usr/include/rpm/rpmlib.h:11,
>                  from rpmMessages.c:12:
> /usr/include/rpm/header.h:700: syntax error before "void"
> In file included from /usr/include/rpm/header.h:716,
>                  from /usr/include/rpm/rpmlib.h:11,
>                  from rpmMessages.c:12:
> /usr/include/rpm/hdrinline.h:22: syntax error before "HV_t"
> /usr/include/rpm/hdrinline.h:35: syntax error before "Header"
> /usr/include/rpm/hdrinline.h:47: syntax error before "Header"
> /usr/include/rpm/hdrinline.h:62: syntax error before "Header"
> /usr/include/rpm/hdrinline.h:74: syntax error before "Header"
> /usr/include/rpm/hdrinline.h:89: syntax error before "void"
> /usr/include/rpm/hdrinline.h:103: syntax error before "void"
> /usr/include/rpm/hdrinline.h:120: syntax error before "unsigned"
> /usr/include/rpm/hdrinline.h:135: syntax error before "void"
> /usr/include/rpm/hdrinline.h:149: syntax error before "Header"
> /usr/include/rpm/hdrinline.h:163: syntax error before "Header"
> /usr/include/rpm/hdrinline.h:175: syntax error before "Header"
> /usr/include/rpm/hdrinline.h:187: syntax error before "Header"
> /usr/include/rpm/hdrinline.h:200: syntax error before "Header"
> /usr/include/rpm/hdrinline.h:214: syntax error before "int"
> /usr/include/rpm/hdrinline.h:230: syntax error before "int"
> /usr/include/rpm/hdrinline.h:247: syntax error before "void"
> /usr/include/rpm/hdrinline.h:268: syntax error before "int"
> /usr/include/rpm/hdrinline.h:290: syntax error before "int"
> /usr/include/rpm/hdrinline.h:315: syntax error before "int"
> /usr/include/rpm/hdrinline.h:336: syntax error before "int"
> /usr/include/rpm/hdrinline.h:354: syntax error before "int"
> /usr/include/rpm/hdrinline.h:382: syntax error before "int"
> /usr/include/rpm/hdrinline.h:400: syntax error before "int"
> /usr/include/rpm/hdrinline.h:417: syntax error before "int"
> /usr/include/rpm/hdrinline.h:435: syntax error before "char"
> /usr/include/rpm/hdrinline.h:451: syntax error before "void"
> /usr/include/rpm/hdrinline.h:466: syntax error before "HeaderIterator"
> /usr/include/rpm/hdrinline.h:478: syntax error before "HeaderIterator"
> /usr/include/rpm/hdrinline.h:494: syntax error before "int"
> In file included from rpmMessages.c:12:
> /usr/include/rpm/rpmlib.h:55: syntax error before "void"
> rpmMessages.c:22: warning: no previous prototype for
> `kpackage_rpmIncreaseVerbosity'
> rpmMessages.c:27: warning: no previous prototype for
> `kpackage_rpmSetVerbosity'
> rpmMessages.c:32: warning: no previous prototype for
> `kpackage_rpmGetVerbosity'
> rpmMessages.c:37: warning: no previous prototype for `kpackage_rpmIsDebug'
> rpmMessages.c:42: warning: no previous prototype for
> `kpackage_rpmIsVerbose' make[3]: *** [rpmMessages.o] Error 1
> make[3]: Leaving directory `/mnt/data/HEAD/kdeadmin/kpackage'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/mnt/data/HEAD/kdeadmin/kpackage'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/mnt/data/HEAD/kdeadmin'
> make: *** [all] Error 2
> --  make output
>
>
> << kdeedu >>
> No compile error, its just that it rewuires the libkdeedu dir, which is not
> in HEAD (I have not got it when I did the checkout)!
>
> << kdemultimedia >>
> Yes, I know that the asoundlib.h has been moved in alsa 0.9 and I have
> corrected the files, although it would be appriopriate for configure to
> check which alsa is installed and use the adequate header (could be done
> with several if's in a_alsa.c.
>
> ++ ./configure line
> ./configure --prefix=/usr/X11R6 --enable-objprelink --with-alsa
> --enable-arts-alsa --enable-audio=alsa,oss
> -- ./configure line
>
> ++ make output
> source='alsa_a.c' object='alsa_a.o' libtool=no \
> depfile='.deps/alsa_a.Po' tmpdepfile='.deps/alsa_a.TPo' \
> depmode=gcc3 /bin/sh ../../admin/depcomp \
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11R6/include
> `/usr/X11R6/bin/artsc-config --cflags`  -DQT_THREAD_SUPPORT  -D_REENTRANT
> -DDEFAULT_PATH=\"/usr/X11R6/share/apps/kmidi/config\" -DAU_OSS -DAU_ALSA
> -DIA_XAW -DQT_THREAD_SUPPORT  -D_REENTRANT  -fasm -Wall -ansi -W -pedantic
> -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -m486 -O -fforce-mem -fforce-addr
> -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks
> -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -c
> `test -f alsa_a.c || echo './'`alsa_a.c
> `-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
> alsa_a.c:135: warning: no previous prototype for `alsa_tell'
> alsa_a.c: In function `check_sound_cards':
> alsa_a.c:153: storage size of `ctl_hw_info' isn't known
> alsa_a.c:154: storage size of `pcm_info' isn't known
> alsa_a.c:169: warning: implicit declaration of function `snd_cards'
> alsa_a.c:189: warning: passing arg 2 of `snd_ctl_open' makes pointer from
> integer without a cast
> alsa_a.c:189: too few arguments to function `snd_ctl_open'
> alsa_a.c:197: warning: implicit declaration of function `snd_ctl_hw_info'
> alsa_a.c:223: warning: passing arg 2 of `snd_ctl_pcm_info' makes pointer
> from integer without a cast
> alsa_a.c:223: too many arguments to function `snd_ctl_pcm_info'
> alsa_a.c:231: `SND_PCM_INFO_PLAYBACK' undeclared (first use in this
> function) alsa_a.c:231: (Each undeclared identifier is reported only once
> alsa_a.c:231: for each function it appears in.)
> alsa_a.c:153: warning: unused variable `ctl_hw_info'
> alsa_a.c:154: warning: unused variable `pcm_info'
> alsa_a.c:150: warning: unused parameter `extra_param'
> alsa_a.c: In function `set_playback_info':
> alsa_a.c:265: `snd_pcm_channel_info_t' undeclared (first use in this
> function) alsa_a.c:265: parse error before "playback_info"
> alsa_a.c:271: storage size of `playback_params' isn't known
> alsa_a.c:272: storage size of `playback_status' isn't known
> alsa_a.c:273: storage size of `setup' isn't known
> alsa_a.c:276: parse error before '/' token
> alsa_a.c:278: request for member `interleave' in something not a structure
> or union
> alsa_a.c:281: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this
> function)
> alsa_a.c:282: `SND_PCM_MODE_BLOCK' undeclared (first use in this function)
> alsa_a.c:284: `playback_info' undeclared (first use in this function)
> alsa_a.c:287: warning: implicit declaration of function
> `snd_pcm_plugin_info' alsa_a.c:288: parse error before '/' token
> alsa_a.c:308: request for member `rate' in something not a structure or
> union alsa_a.c:317: request for member `voices' in something not a
> structure or union
> alsa_a.c:319: request for member `voices' in something not a structure or
> union
> alsa_a.c:325: `SND_PCM_FMT_S16_LE' undeclared (first use in this function)
> alsa_a.c:327: request for member `format' in something not a structure or
> union
> alsa_a.c:327: `SND_PCM_SFMT_S16_LE' undeclared (first use in this function)
> alsa_a.c:330: `SND_PCM_FMT_U16_LE' undeclared (first use in this function)
> alsa_a.c:332: request for member `format' in something not a structure or
> union
> alsa_a.c:332: `SND_PCM_SFMT_U16_LE' undeclared (first use in this function)
> alsa_a.c:335: `SND_PCM_FMT_S16_BE' undeclared (first use in this function)
> alsa_a.c:337: request for member `format' in something not a structure or
> union
> alsa_a.c:337: `SND_PCM_SFMT_S16_BE' undeclared (first use in this function)
> alsa_a.c:340: `SND_PCM_FMT_U16_BE' undeclared (first use in this function)
> alsa_a.c:342: request for member `format' in something not a structure or
> union
> alsa_a.c:355: `SND_PCM_FMT_U8' undeclared (first use in this function)
> alsa_a.c:357: request for member `format' in something not a structure or
> union
> alsa_a.c:357: `SND_PCM_SFMT_U8' undeclared (first use in this function)
> alsa_a.c:360: `SND_PCM_FMT_S8' undeclared (first use in this function)
> alsa_a.c:362: request for member `format' in something not a structure or
> union
> alsa_a.c:392: request for member `voices' in something not a structure or
> union
> alsa_a.c:415: parse error before '/' token
> alsa_a.c:429: warning: implicit declaration of function
> `snd_pcm_plugin_flush' alsa_a.c:431: `SND_PCM_START_FULL' undeclared (first
> use in this function) alsa_a.c:432: `SND_PCM_STOP_STOP' undeclared (first
> use in this function) alsa_a.c:433: parse error before '/' token
> alsa_a.c:435: warning: implicit declaration of function
> `snd_pcm_channel_params'
> alsa_a.c:437: parse error before '/' token
> alsa_a.c:451: warning: implicit declaration of function
> `snd_pcm_plugin_prepare'
> alsa_a.c:459: warning: implicit declaration of function
> `snd_pcm_plugin_setup' alsa_a.c:466: parse error before '/' token
> alsa_a.c:469: warning: implicit declaration of function
> `snd_pcm_plugin_status'
> alsa_a.c:271: warning: unused variable `playback_params'
> alsa_a.c:272: warning: unused variable `playback_status'
> alsa_a.c:273: warning: unused variable `setup'
> alsa_a.c: In function `open_output':
> alsa_a.c:496: parse error before '/' token
> alsa_a.c:499: `SND_PCM_OPEN_PLAYBACK' undeclared (first use in this
> function) alsa_a.c:499: `SND_PCM_OPEN_NONBLOCK' undeclared (first use in
> this function) alsa_a.c:499: warning: passing arg 2 of `snd_pcm_open' makes
> pointer from integer without a cast
> alsa_a.c:500: parse error before '/' token
> alsa_a.c:520: warning: implicit declaration of function
> `snd_pcm_file_descriptor'
> alsa_a.c:520: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this
> function)
> alsa_a.c: At top level:
> alsa_a.c:566: warning: no previous prototype for `playback_write_error'
> alsa_a.c: In function `playback_write_error':
> alsa_a.c:567: `snd_pcm_channel_status_t' undeclared (first use in this
> function)
> alsa_a.c:567: parse error before "status"
> alsa_a.c:569: `status' undeclared (first use in this function)
> alsa_a.c:570: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this
> function)
> alsa_a.c:575: `SND_PCM_STATUS_UNDERRUN' undeclared (first use in this
> function)
> alsa_a.c:576: parse error before '/' token
> alsa_a.c:583: `SND_PCM_STATUS_READY' undeclared (first use in this
> function) alsa_a.c:590: `SND_PCM_STATUS_RUNNING' undeclared (first use in
> this function) alsa_a.c: In function `driver_output_data':
> alsa_a.c:599: parse error before '/' token
> alsa_a.c:602: warning: implicit declaration of function
> `snd_pcm_plugin_write' alsa_a.c:604: parse error before '/' token
> alsa_a.c: In function `output_count':
> alsa_a.c:614: storage size of `playback_status' isn't known
> alsa_a.c:614: warning: unused variable `playback_status'
> alsa_a.c: In function `flush_output':
> alsa_a.c:662: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this
> function)
> alsa_a.c: In function `purge_output':
> alsa_a.c:668: warning: implicit declaration of function
> `snd_pcm_plugin_playback_drain'
> alsa_a.c:670: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this
> function)
> alsa_a.c:675: parse error before '/' token
> make: *** [alsa_a.o] Error 1
> -- make output
>
> << kdesdk >>
> ++ ./configure line
> ./configure --prefix=/usr/X11R6 --enable-objprelink
> -- ./configure line
>
> ++ make output
> source='cwbuglistcontainer.cpp' object='cwbuglistcontainer.lo' libtool=yes
> \ depfile='.deps/cwbuglistcontainer.Plo'
> tmpdepfile='.deps/cwbuglistcontainer.TPlo' \
> depmode=gcc3 /bin/sh ../../admin/depcomp \
> /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
> -I. -I. -I../.. -I../../kbugbuster/backend -I../../kbugbuster/
> -I/usr/X11R6/include/qt -I/usr/X11R6/include   -DQT_THREAD_SUPPORT
> -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef
> -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
> -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2
> -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -UQT_NO_COMPAT
> -DQT_NO_ASCII_CAST  -c -o cwbuglistcontainer.lo `test -f
> cwbuglistcontainer.cpp || echo './'`cwbuglistcontainer.cpp
> cwbuglistcontainer.cpp:36:25: kfinddialog.h: No such file or directory
> cwbuglistcontainer.cpp: In member function `void
>    KBugBusterMainWindow::CWBugListContainer::searchBugByTitle(int, const
>    QString&)':
> cwbuglistcontainer.cpp:213: `KFind' undeclared (first use this function)
> cwbuglistcontainer.cpp:213: (Each undeclared identifier is reported only
> once for each function it appears in.)
> cwbuglistcontainer.cpp:213: parse error before `(' token
> cwbuglistcontainer.cpp:217: no matching function for call to `
>    KBugBusterMainWindow::CWBugListContainer::connect(QWidget*(&)(long
> unsigned int), const char[55], KBugBusterMainWindow::CWBugListContainer*
> const, const
>    char[61])'
> /usr/X11R6/include/qt/qobject.h:112: candidates are: static bool
>    QObject::connect(const QObject*, const char*, const QObject*, const
> char*) /usr/X11R6/include/qt/qobject.h:208:                 bool
>    QObject::connect(const QObject*, const char*, const char*) const
> cwbuglistcontainer.cpp:220: `KFindDialog' undeclared (first use this
> function) cwbuglistcontainer.cpp:220: parse error before `::' token
> cwbuglistcontainer.cpp:228: request for member `find' in
> `QWidget::find(long unsigned int)', which is of non-aggregate type
> `QWidget*()(long unsigned int)'
> cwbuglistcontainer.cpp:231: parse error before `::' token
> cwbuglistcontainer.cpp:236: cannot delete a function.  Only
> pointer-to-objects are valid arguments to `delete'
> cwbuglistcontainer.cpp:212: warning: unused parameter `const
> QString&pattern' make: *** [cwbuglistcontainer.lo] Error 1
> -- make output
> So I have noticed that there is no kfinddialog.h, but there is kfinddlg.h,
> so I changed the include in this file, but make still fails:
> ++ 2nd make outputsource='cwbuglistcontainer.cpp'
> object='cwbuglistcontainer.lo' libtool=yes \
> depfile='.deps/cwbuglistcontainer.Plo'
> tmpdepfile='.deps/cwbuglistcontainer.TPlo' \
> depmode=gcc3 /bin/sh ../../admin/depcomp \
> /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
> -I. -I. -I../.. -I../../kbugbuster/backend -I../../kbugbuster/
> -I/usr/X11R6/include/qt -I/usr/X11R6/include   -DQT_THREAD_SUPPORT
> -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef
> -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
> -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2
> -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -UQT_NO_COMPAT
> -DQT_NO_ASCII_CAST  -c -o cwbuglistcontainer.lo `test -f
> cwbuglistcontainer.cpp || echo './'`cwbuglistcontainer.cpp
> cwbuglistcontainer.cpp: In member function `void
>    KBugBusterMainWindow::CWBugListContainer::searchBugByTitle(int, const
>    QString&)':
> cwbuglistcontainer.cpp:213: `KFind' undeclared (first use this function)
> cwbuglistcontainer.cpp:213: (Each undeclared identifier is reported only
> once for each function it appears in.)
> cwbuglistcontainer.cpp:213: parse error before `(' token
> cwbuglistcontainer.cpp:217: no matching function for call to `
>    KBugBusterMainWindow::CWBugListContainer::connect(QWidget*(&)(long
> unsigned int), const char[55], KBugBusterMainWindow::CWBugListContainer*
> const, const
>    char[61])'
> /usr/X11R6/include/qt/qobject.h:112: candidates are: static bool
>    QObject::connect(const QObject*, const char*, const QObject*, const
> char*) /usr/X11R6/include/qt/qobject.h:208:                 bool
>    QObject::connect(const QObject*, const char*, const char*) const
> cwbuglistcontainer.cpp:220: `KFindDialog' undeclared (first use this
> function) cwbuglistcontainer.cpp:220: parse error before `::' token
> cwbuglistcontainer.cpp:228: request for member `find' in
> `QWidget::find(long unsigned int)', which is of non-aggregate type
> `QWidget*()(long unsigned int)'
> cwbuglistcontainer.cpp:231: parse error before `::' token
> cwbuglistcontainer.cpp:236: cannot delete a function.  Only
> pointer-to-objects are valid arguments to `delete'
> cwbuglistcontainer.cpp:212: warning: unused parameter `const
> QString&pattern' make: *** [cwbuglistcontainer.lo] Error 1
> -- 2nd make output
>
> << kdeutils >>
> ++ ./configure line
> ./configure --prefix=/usr/X11R6 --enable-objprelink
> -- ./configure line
>
> ++ make output
> source='kcalc_core.cpp' object='kcalc_core.lo' libtool=yes \
> depfile='.deps/kcalc_core.Plo' tmpdepfile='.deps/kcalc_core.TPlo' \
> depmode=gcc3 /bin/sh ../admin/depcomp \
> /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
> -I. -I. -I.. -I/usr/X11R6/include/qt -I/usr/X11R6/include  
> -DQT_THREAD_SUPPORT -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long
> -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith
> -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
> -D_BSD_SOURCE -Wcast-align -Wconversion -O2
> -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE  -DQT_NO_ASCII_CAST
> -fexceptions -c -o kcalc_core.lo `test -f kcalc_core.cpp || echo
> './'`kcalc_core.cpp
> kcalc_core.cpp: In member function `void QtCalculator::EnterDigit(int)':
> kcalc_core.cpp:374: call of overloaded `pow(num_base&, int)' is ambiguous
> /usr/include/bits/mathcalls.h:143: candidates are: double pow(double,
> double) /usr/include/g++-v3/cmath:434:                 long double
> std::pow(long double, int)
> /usr/include/g++-v3/cmath:430:                 float std::pow(float, int)
> /usr/include/g++-v3/cmath:426:                 double std::pow(double, int)
> /usr/include/g++-v3/cmath:417:                 long double std::pow(long
>    double, long double)
> /usr/include/g++-v3/cmath:408:                 float std::pow(float, float)
> kcalc_core.cpp:379: call of overloaded `pow(num_base&, int)' is ambiguous
> /usr/include/bits/mathcalls.h:143: candidates are: double pow(double,
> double) /usr/include/g++-v3/cmath:434:                 long double
> std::pow(long double, int)
> /usr/include/g++-v3/cmath:430:                 float std::pow(float, int)
> /usr/include/g++-v3/cmath:426:                 double std::pow(double, int)
> /usr/include/g++-v3/cmath:417:                 long double std::pow(long
>    double, long double)
> /usr/include/g++-v3/cmath:408:                 float std::pow(float, float)
> kcalc_core.cpp: In member function `void QtCalculator::SubtractDigit()':
> kcalc_core.cpp:405: call of overloaded `pow(num_base&, int)' is ambiguous
> /usr/include/bits/mathcalls.h:143: candidates are: double pow(double,
> double) /usr/include/g++-v3/cmath:434:                 long double
> std::pow(long double, int)
> /usr/include/g++-v3/cmath:430:                 float std::pow(float, int)
> /usr/include/g++-v3/cmath:426:                 double std::pow(double, int)
> /usr/include/g++-v3/cmath:417:                 long double std::pow(long
>    double, long double)
> /usr/include/g++-v3/cmath:408:                 float std::pow(float, float)
> kcalc_core.cpp:406: call of overloaded `pow(num_base&, int)' is ambiguous
> /usr/include/bits/mathcalls.h:143: candidates are: double pow(double,
> double) /usr/include/g++-v3/cmath:434:                 long double
> std::pow(long double, int)
> /usr/include/g++-v3/cmath:430:                 float std::pow(float, int)
> /usr/include/g++-v3/cmath:426:                 double std::pow(double, int)
> /usr/include/g++-v3/cmath:417:                 long double std::pow(long
>    double, long double)
> /usr/include/g++-v3/cmath:408:                 float std::pow(float, float)
> kcalc_core.cpp: In member function `void QtCalculator::EnterNegate()':
> kcalc_core.cpp:647: warning: comparison between signed and unsigned integer
>    expressions
> make: *** [kcalc_core.lo] Error 1
> -- make output
>
> << kdetoys/kweather >>
> ++ ./configure line
> ./configure --prefix=/usr/X11R6 --enable-objprelink
> -- ./configure line
>
> ++ make output
> source='weatherservice.cpp' object='weatherservice.o' libtool=no \
> depfile='.deps/weatherservice.Po' tmpdepfile='.deps/weatherservice.TPo' \
> depmode=gcc3 /bin/sh ../admin/depcomp \
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include/qt
> -I/usr/X11R6/include -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor
> -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W
> -Wpointer-arith
> -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
> -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new
> -DQT_CLEAN_NAMESPACE  -DQT_NO_ASCII_CAST  -c -o weatherservice.o `test -f
> weatherservice.cpp || echo './'`weatherservice.cpp
> weatherservice.cpp: In member function `QString
>    WeatherService::temperature(QString)':
> weatherservice.cpp:27: warning: unused parameter `QString stationID'
> weatherservice.cpp:29: warning: control reaches end of non-void function
> weatherservice.cpp: In member function `QString
>    WeatherService::dewPoint(QString)':
> weatherservice.cpp:32: warning: unused parameter `QString stationID'
> weatherservice.cpp:34: warning: control reaches end of non-void function
> weatherservice.cpp: In member function `QString
>    WeatherService::relitiveHumidity(QString)':
> weatherservice.cpp:37: warning: unused parameter `QString stationID'
> weatherservice.cpp:39: warning: control reaches end of non-void function
> weatherservice.cpp: In member function `QString
>    WeatherService::heatIndex(QString)':
> weatherservice.cpp:42: warning: unused parameter `QString stationID'
> weatherservice.cpp:44: warning: control reaches end of non-void function
> weatherservice.cpp: In member function `QString
>    WeatherService::windChill(QString)':
> weatherservice.cpp:47: warning: unused parameter `QString stationID'
> weatherservice.cpp:49: warning: control reaches end of non-void function
> weatherservice.cpp: In member function `QString
> WeatherService::wind(QString)':
> weatherservice.cpp:52: warning: unused parameter `QString stationID'
> weatherservice.cpp:54: warning: control reaches end of non-void function
> weatherservice.cpp: In member function `QString
>    WeatherService::pressure(QString)':
> weatherservice.cpp:57: warning: unused parameter `QString stationID'
> weatherservice.cpp:59: warning: control reaches end of non-void function
> weatherservice.cpp: In member function `QString
> WeatherService::date(QString)':
> weatherservice.cpp:72: warning: unused parameter `QString stationID'
> weatherservice.cpp:74: warning: control reaches end of non-void function
> weatherservice.cpp: In member function `QString
>    WeatherService::visability(QString)':
> weatherservice.cpp:77: warning: unused parameter `QString stationID'
> weatherservice.cpp:79: warning: control reaches end of non-void function
> weatherservice.cpp: In member function `QStringList
>    WeatherService::cover(QString)':
> weatherservice.cpp:82: warning: unused parameter `QString stationID'
> weatherservice.cpp:84: warning: control reaches end of non-void function
> weatherservice.cpp: In member function `QStringList
>    WeatherService::weather(QString)':
> weatherservice.cpp:87: warning: unused parameter `QString stationID'
> weatherservice.cpp:89: warning: control reaches end of non-void function
> weatherservice.cpp: In member function `bool
>    WeatherService::forceUpdate(QString)':
> weatherservice.cpp:92: warning: unused parameter `QString stationID'
> weatherservice.cpp:94: warning: control reaches end of non-void function
> weatherservice.cpp: In member function `bool
>    WeatherService::removeStation(QString)':
> weatherservice.cpp:97: warning: unused parameter `QString stationID'
> weatherservice.cpp:99: warning: control reaches end of non-void function
> weatherservice.cpp: In member function `bool
>    WeatherService::addStation(QString)':
> weatherservice.cpp:102: warning: unused parameter `QString stationID'
> weatherservice.cpp:104: warning: control reaches end of non-void function
> weatherservice.cpp: In member function `void
> WeatherService::setMaxAge(int)': weatherservice.cpp:107: warning: unused
> parameter `int age'
> weatherservice.cpp: In member function `int WeatherService::maxAge()':
> weatherservice.cpp:114: warning: control reaches end of non-void function
> make[1]: *** No rule to make target `weatherservice_skel.lo', needed by
> `kweatherservice'.  Stop.
> make[1]: Leaving directory `/mnt/data/HEAD/kdetoys/kweather'
> make: *** [all-recursive] Error 1
> -- make output
>
> TIA.

-- 
Christoph Cullmann
Kate/KDE developer
cullmann@kde.org
http://kate.kde.org

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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