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

List:       kde-devel
Subject:    can't compile kdebase/khelpcenter
From:       Thomas Leitner <tom () radar ! tu-graz ! ac ! at>
Date:       2002-01-09 9:45:31
[Download RAW message or body]


bails out like that with Compaq C++:

cxx -std gnu -ieee -D__USE_STD_IOSTREAM -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/kde3/include -I/home8/kde2d/qt-copy/include -I.
-I/usr/local/include -pthread -DQT_THREAD_SUPPORT -DNDEBUG -DNO_DEBUG
-ieee -msg_disable
delinccls,nousedecl,intsignchange,narrowptr,extrasemi,codeunreachable
-msg_display_tag -O4 -fast -tune ev56 -arch generic -DAES_SOURCE
-D__USE_STD_IOSTREAM -D__STDC__=1 -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT
-DQT_NO_ASCII_CAST -c khc_infohierarchymaker.cc   -DPIC -o
.libs/khc_infohierarchymaker.o
cxx: Error: /usr/lib/cmplrs/cxx/V6.5-002/include/cxx/algorithm.cc, line 111:
          a reference of type
          "std::unary_function<const khcInfoNode *, bool>::argument_type &"
          (not const-qualified) cannot be initialized with a value of type
          "khcInfoNode *" (badnonrefini)
          detected during instantiation of "InputIterator
                    std::find_if(InputIterator, InputIterator, Predicate)
                    [with InputIterator=std::list<khcInfoNode *,
                    std::allocator<khcInfoNode *>>::iterator,
                    Predicate=std::binder2nd<isNode>]"
    while (first != last && !pred(*first)) ++first;
----------------------------------^

Seems to be a problem with STL. Can someone suggest a way to modify
khc_infohierarchymaker.cc to get it going anyway? The offending lines
are all find_if calls in khc_infohierarchymaker.cc.

Thanks // Tom

 
>> 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