Bug 18654
Summary: | g++ fails for qregion.h (qt1x-devel) | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | pdenis2 |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-10-08 19:48:20 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
pdenis2
2000-10-08 19:48:18 UTC
`xor' is special in C++ (like `and' and other keywords), you cannot use them this way. Qt1 and KDE1 is full of these bugs, basically unless you want to patch many things in it, you should use older compiler for compiling Qt1 and KDE1 programs. KDE1/Qt1 programs in the distribution are built with compat-egcs-c++ (command egcs++), so basically you just need to make sure that instead of g++ the Makefiles use egcs++ and -L/usr/lib in the CFLAGS, e.g. by: export CXX="egcs++ -L/usr/lib" CC="egcs -L/usr/lib" before running configure of those KDE1/Qt1 packages. KDE2 is already valid C++, see http://master.kde.org/~bero/ for rpms (or for KDE2 last beta look at the preview directory in RHL7). |