Menu

#175 Error compilng with gcc4.1

open
nobody
None
5
2006-09-01
2006-09-01
Anonymous
No

After the typical hell of dependencies, I could make
the configure properly, now, I'm getting an strange
error when compiling. I paste only the part when the
errors start, untill here it seems fine.

make[3]: Entering directory
`/home/aseques/baghira-release/deco'
if /bin/sh ../libtool --silent --mode=compile --tag=CXX
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde
-I/usr/share/qt3/include -I. -I/usr/include/kde/kwin
-DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -Wchar-subscripts -Wall -W
-Wpointer-arith -O2 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -DQT_PLUGIN
-MT baghiraclient.lo -MD -MP -MF
".deps/baghiraclient.Tpo" -c -o baghiraclient.lo
baghiraclient.cc; \
then mv -f ".deps/baghiraclient.Tpo"
".deps/baghiraclient.Plo"; else rm -f
".deps/baghiraclient.Tpo"; exit 1; fi
baghiraclient.h:162: error: extra qualification
'Baghira::BaghiraFactory::' on member 'ButtonPixmap'
baghiraclient.h:163: error: extra qualification
'Baghira::BaghiraFactory::' on member 'DecoImage'
baghiraclient.cc: In member function 'QImage*
Baghira::BaghiraFactory::tintGlossy(const QImage&,
const QColor&) const':
baghiraclient.cc:638: warning: converting to 'int' from
'double'
baghiraclient.cc:640: warning: converting to 'int' from
'double'
baghiraclient.h: In constructor
'Baghira::BaghiraButton::BaghiraButton(Baghira::BaghiraClient*,
const char*, const QString&, bool, Baghira::ButtonType,
int)':
baghiraclient.h:364: warning:
'Baghira::BaghiraButton::mouseover_' will be
initialized after
baghiraclient.h:356: warning: 'bool
Baghira::BaghiraButton::_blocked'
baghiraclient.cc:1229: warning: when initialized here
baghiraclient.cc: In member function 'void
Baghira::BaghiraClient::paintEvent(QPaintEvent*)':
baghiraclient.cc:2164: warning: passing 'double' for
argument 1 to 'QColor QColor::dark(int) const'
baghiraclient.cc:2187: warning: passing 'double' for
argument 1 to 'QColor QColor::dark(int) const'
make[3]: *** [baghiraclient.lo] Error 1
make[3]: Leaving directory
`/home/aseques/baghira-release/deco'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/aseques/baghira-release/deco'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aseques/baghira-release'
make: *** [all] Error 2

Discussion

  • ASeques

    ASeques - 2006-09-01

    Logged In: YES
    user_id=963116

    Sorry, I posted as anonymous, the author is me, for any
    information your require

     
  • Thomas Luebking

    Thomas Luebking - 2006-09-02

    Logged In: YES
    user_id=931498

    known, use the cvs version (it's better anyway)

     
MongoDB Logo MongoDB