-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 31 August 2001 14:27, Wilco Greven wrote: > ../../../../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. It's not an initialization value (g++ would warn about that), but a "storage hint": It tells the compiler that this value needs only three bits of storage and therefore can be stuffed into bytes together with others. The solution is to use a local variable, assign the value to it, and compare against _that_. Marc - -- Even though copyright law gives individuals rights such as fair use, the DMCA and FTAA's proposed anti-circumvention provisions outlaw all tools that are necessary to exercise those rights, effectively killing fair use in the digital age. -- EFF FTAA Alert: Stop Hollywood Forcing Technology Ban on 34 Countries -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7j8K53oWD+L2/6DgRAkwRAKC2skch5/WSLjwn2A7Gx4BnfhuLgwCg0JwO cVPvgVikqGMvwQX5k4QQSqo= =k73g -----END PGP SIGNATURE-----