The compiler that comes with redhat 7.0 is not an official release !!!!!!
It is a snapshot of a development Compiler it is not compatible with the
older
compilers used on redhat 6.x .
Redhat used an unofficial release,an now people upgrading are paying the
price the hard way.
----- Original Message -----
From: Justin Filion <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 27, 2000 4:25 PM
Subject: Hey there
> Hi, I'm new to the list.
>
> I have a quick question,
>
> Is anybody else having any problems compiling Toolbox and/or bbpal
> in Redhat 7? I get this error when trying to compile Toolbox:
>
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt-2.2.1/include
> -I/usr/X11R6/include -O2 -c toolbox.cc
> toolbox.cc: In method `Toolbox::Toolbox (QWidget *, const char *)':
> toolbox.cc:108: request for member `getStyleName' in
> `this->QWidget::style', which is of non-aggregate type `{unknown type}'
> toolbox.cc:111: ISO C++ forbids taking the address of a non-static
> member function to form a pointer to member function. Say
> `&Toolbox::style'
> toolbox.cc:112: no matching function for call to `Toolbox::connect
> (QStyle &(QWidget::*) () const, const char[29], FrameStack *&, const
> char[21])'
> /usr/lib/qt-2.2.1/include/qobject.h:110: candidates are: static bool
> QObject::connect (const QObject *,
> const char *, const QObject *, const char *)
> /usr/lib/qt-2.2.1/include/qobject.h:210: bool
> QObject::connect (const QObject *, const
> char *, const char *) const
> make[2]: *** [toolbox.o] Error 1
>
> I don't know if it is the new gcc or what.... Anybody have any ideas?
>
> Thanks