[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    kdelibs-3.2.1 build problem on AIX 5.1 with IBM v6 C++ compiler
From:       Albert Chin <kde-devel () thewrittenword ! com>
Date:       2004-03-11 20:17:16
Message-ID: 20040311201716.GC86085 () spuckler ! il ! thewrittenword ! com
[Download RAW message or body]

While building kdelibs-3.2.1/khtml/css/css_base.cpp:
  "css_base.cpp", line 165.5: 1540-0281 (S) An expression of type
  "const DOM::CSSSelector::PseudoType" cannot be modified.
  "css_base.cpp", line 171.21: 1540-0281 (S) An expression of type
  "const DOM::CSSSelector::PseudoType" cannot be modified.
  "css_base.cpp", line 173.21: 1540-0281 (S) An expression of type
  "const DOM::CSSSelector::PseudoType" cannot be modified.
  "css_base.cpp", line 177.21: 1540-0281 (S) An expression of type
  "const DOM::CSSSelector::PseudoType" cannot be modified.
  "css_base.cpp", line 181.21: 1540-0281 (S) An expression of type
  "const DOM::CSSSelector::PseudoType" cannot be modified.

>From css_base.h:
  PseudoType pseudoType() const {
      if (_pseudoType == PseudoNotParsed)
          extractPseudoType();
      return _pseudoType;
  }
  ...
  mutable PseudoType _pseudoType : 5;

Offending lines in css_base.cpp:
  if (match != Pseudo)
      return;
  _pseudoType = PseudoOther;
  ^^^^^^^^^^^^^^^^^^^^^^^^^^

>From my understanding of mutable, looks like a compiler bug.

-- 
albert chin (china@thewrittenword.com)
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic