ANNOUNCE: KDevelop 1.3 released

Werner Modenbach werner at werner.alc.de
Thu Dec 14 09:36:52 GMT 2000


Am Mit, 13 Dez 2000 schrieben Sie:
> Werner Modenbach wrote:
> > 
> > To avoid problems with non ISO headers of QT 1.xx insert the following lines
> > into your kdevelop startupscript:
> Hey, there are even better ways to get around the non-iso headers
> (without using egcs)
> 1. apply the patch posted by bero some days ago or
> 2. Update the qt1x packages with --force, this should install the patched
>    version: rpm -Uhv --force qt1x-1.45* qt1x-devel-1.45*
> 
Hi Klaus,

Here is what I did:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[root at werner RPMS]# ls qt1x*
qt1x-1.45-11.i386.rpm  qt1x-devel-1.45-11.i386.rpm
[root at werner RPMS]# rpm -Uvh --force qt1x-*
qt1x                        ##################################################
qt1x-devel                  ##################################################
[root at werner RPMS]#
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

After that  my compiler output still shows the following messages:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt-1.45/include  -I/usr/X11R6/include    -O0 -g3 -Wall -Werror   -I ~/procad/dokumente/dokumente/dokumentklassen -I ~/procad/dokumente/dokumente/xml -I ~/procad/dokumente/dokumente/fileio/alt -D__STRICT_ANSI__  -c dokumente.cpp
In file included from /usr/lib/qt-1.45/include/qpainter.h:33,
from dokumente.h:37,
from dokumente.cpp:11:
/usr/lib/qt-1.45/include/qregion.h:73:182: "defined" without an identifier
gmake[1]: *** [dokumente.o] Fehler 1
gmake[1]: Verlassen des Verzeichnisses Verzeichnis »/home/werner/procad/dokumente/dokumente«
gmake: *** [all-recursive] Fehler 1
*** Fehler ***
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
The reclaimed part of the header is:

#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

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
An answer to this problem from the redhat list explains:

In der Zeile ist der Bug: das "&& !defined(xor)" ist falsch. In neuen
Compilern ist xor == ^, also wird die Zeile nach "&& !defined(^)"
übersetzt, was der Compiler nicht verstehen kann.

Ersetze das !defined(xor) durch 0.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

In this case I prefer the egcs solution.

- Werner -


-- 
--------------------------------------------------------------
                    ALC Computertechnik GmbH

        \_       \_          \_\_\_     Kaiserstr. 100
       \_\_      \_        \_           D-52134 Herzogenrath
      \_  \_     \_        \_           Germany
     \_\_\_\_    \_        \_           Fon +49 2407 95810
    \_      \_   \_        \_           Fax +49 2407 958139
   \_        \_  \_\_\_\_    \_\_\_     http://www.alc.de
   ===========================================================
   Werner Modenbach                     modenbach at alc.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