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

List:       kde-bugs-dist
Subject:    [Bug 70942] New: kdetoys/kweather/weatherservice.cpp doesn't
From:       Torsten Kasch <tk () CeBiTec ! Uni-Bielefeld ! DE>
Date:       2003-12-20 21:54:56
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=70942     
           Summary: kdetoys/kweather/weatherservice.cpp doesn't compile on
                    Solaris
           Product: kweather
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: geiseri@kde.org
        ReportedBy: tk@CeBiTec.Uni-Bielefeld.DE


Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc version 2.95.3 20010315 (release) 
OS:          Solaris

Trying to compile kdetoys on my Solaris 8 x86 box breaks with:

source='weatherservice.cpp' object='weatherservice.o' libtool=no \
depfile='.deps/weatherservice.Po' tmpdepfile='.deps/weatherservice.TPo' \
depmode=gcc /bin/ksh ../admin/depcomp \
g++ -pipe -DHAVE_CONFIG_H -I. -I. -I.. -I/vol/kde-cvs/include -I/vol/qt-3.2.3/include \
-I/vol/local/include -I/vol/graphics/include  -DQT_THREAD_SUPPORT  -D_REENTRANT \
-D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4  -Wnon-virtual-dtor -Wno-long-long \
-Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 \
-fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST \
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o weatherservice.o `test -f \
                'weatherservice.cpp' || echo './'`weatherservice.cpp
weatherservice.cpp: In method `class QStringList WeatherService::findStations(float, \
float)': weatherservice.cpp:227: warning: unused parameter `float lon'
weatherservice.cpp:227: warning: unused parameter `float lat'
weatherservice.cpp: In method `class QString WeatherService::sunRiseTime(const \
QString &)': weatherservice.cpp:235: parse error before `1'
weatherservice.cpp:240: request for member `computeRiseTime' in `1', which is of \
                non-aggregate type `int'
weatherservice.cpp: In method `class QString WeatherService::sunSetTime(const QString \
&)': weatherservice.cpp:249: parse error before `1'
weatherservice.cpp:254: request for member `computeSetTime' in `1', which is of \
non-aggregate type `int' make[3]: *** [weatherservice.o] Error 1
make[3]: Leaving directory `/vol/src/kde/cvs/kdetoys/kweather'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/vol/src/kde/cvs/kdetoys/kweather'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/vol/src/kde/cvs/kdetoys'
make: *** [all] Error 2

Obviously, it isn't a good idea to name objects "sun", at least on a Sun platform... \
;-)


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

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