I FOUND A BUG IN KDEVELOP 1.3

Klaus Muth muth at hagos.de
Thu Dec 14 06:28:18 UTC 2000


Pablo Tomas Borda Di Berardino wrote:
> 
> Hello, I'm from Argentina, I found a bug in the file highlight.cpp. There
1. Your Caps-Lock key SEEMS TO BE DAMAGED
2. You are describing no error in kdevelop. It is an error in qt-1.45


> In file included from highlight.cpp:6:
> /usr/lib/qt-1.45/include/qregion.h:73:182: "defined" without an identifier
3. This error of qt is revealed by gcc-2.96, as included by redhat 7.0
   To get rid of it, you have to patch $QTDIR/include/qregion.h as I pointed
   out yesterday on this list:
   simply remove the 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 THIS error won´t occur again.
   
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