ANNOUNCE: KDevelop 1.3 released

Klaus Muth muth at hagos.de
Wed Dec 13 10:03:46 GMT 2000


Werner Modenbach wrote:

> Here is what I did:
[...]
> After that  my compiler output still shows the following messages:
> 
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> /usr/lib/qt-1.45/include/qregion.h:73:182: "defined" without an identifier
[...]
ARGH!
so do it the hard way round:
Edit /usr/lib/qt-1.45/include/qregion.h and simply remove lines 
60 - 75, this is:
------------------------
// Work around clash with the ANSI C++ keyword "xor".
//
// Use of QRegion::xor() is deprecated - you should use QRegion::eor().
// Calls to QRegion::xor() will work for now, but give a warning.
//
// If possible, compile the Qt library without this ANSI C++ feature enabled,
// thus including both the old xor() and new eor() in the library, so old
// binaries will continue to work (with the warning).
//
// We also hide the xor() function if there is a #define for xor, in
// case someone is using #define xor ^ to work around deficiencies in
// their compiler that cause problems with some other header files.
//
#if !(defined(__STRICT_ANSI__) && defined(_CC_GNU_)) && !defined(_CC_EDG_) && !defined(_CC_HP_) && !defined(_CC_HP_ACC_) && !defined(_CC_USLC_) && !defined(_CC_MWERKS_) && !defined(xor)
    QRegion xor( const QRegion & )	const;
#endif
------------------------

and compilation should work.

klaus


-- 
HAGOS eG                 Industriestr. 62       fon: (+49) 711 78805-86
EDV-Programmierung       D-70565 Stuttgart      fax: (+49) 711 78805-99
http://www.hagos.de      Germany                mailto:muth at hagos.de

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list