[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Problem compiling khtml with Qt3
From: "Wilco Greven" <j.w.greven () student ! utwente ! nl>
Date: 2001-08-31 12:27:46
[Download RAW message or body]
Hi,
When I try compile KHTML with gcc2.95.4, it fails with the following error:
in file included from \
../../../../src/kdelibs/khtml/xml/dom_stringimpl.h:28, from \
../../../../src/kdelibs/khtml/misc/helper.cpp:27:
../../../../src/kdelibs/khtml/misc/khtmllayout.h: In method `bool \
khtml::Length::operator !=(const khtml::Length &) const':
../../../../src/kdelibs/khtml/misc/khtmllayout.h:68: attempt to take \
address of bit-field structure member `khtml::Length::type'
The problem seems to be the following definition in khtmllayout.h:
LengthType type : 3;
If I remove the initialization value, the error doesn't occur anymore. I
also tried to add an explicit cast (LengthType) 3, but that didn't help.
Greetings,
Wilco
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic