[LLVMbugs] [Bug 23274] New: clang 3.5 or can't compile strigi 0.7.8

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 17 15:52:05 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23274

            Bug ID: 23274
           Summary: clang 3.5 or can't compile strigi 0.7.8
           Product: clang
           Version: 2.6
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: howarth.mailing.lists at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The existing strigi 0.7.8 source code fails to compile against clang 3.5 or
later with the error...

In file included from
/sw/src/fink.build/strigi-0.7.8-2/strigi-0.7.8/strigidaemon/bin/daemon/xesam/xesamsession.cpp:20:
In file included from
/sw/src/fink.build/strigi-0.7.8-2/strigi-0.7.8/strigidaemon/bin/daemon/xesam/xesamsession.h:24:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/list:2060:18:
error: invalid operands to binary expression
      ('const value_type' (aka 'const XesamSearch') and 'const value_type' (aka
'const XesamSearch'))
        if (*__i == __x)
            ~~~~ ^  ~~~
/sw/src/fink.build/strigi-0.7.8-2/strigi-0.7.8/strigidaemon/bin/daemon/xesam/xesamsession.cpp:200:17:
note: in instantiation of member function 'std::__1::list<XesamSearch,
      std::__1::allocator<XesamSearch> >::remove' requested here
    p->searches.remove(search);
                ^
/sw/src/fink.build/strigi-0.7.8-2/strigi-0.7.8/strigidaemon/bin/daemon/xesam/xesamsearch.h:46:10:
note: candidate function not viable: 'this' argument has type
      'const value_type' (aka 'const XesamSearch'), but method is not marked
const
    bool operator==(const XesamSearch& xs) { return p == xs.p; }
         ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:403:1:
note: candidate template ignored: could not match
      'pair<type-parameter-0-0, type-parameter-0-1>' against 'const
XesamSearch'
operator==(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:573:1:
note: candidate template ignored: could not match
      'reverse_iterator<type-parameter-0-0>' against 'const XesamSearch'
operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>&
__y)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:874:6:
note: candidate template ignored: could not match
      'istreambuf_iterator<type-parameter-0-0, type-parameter-0-1>' against
'const XesamSearch'
bool operator==(const istreambuf_iterator<_CharT,_Traits>& __a,
     ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:977:1:
note: candidate template ignored: could not match
      'move_iterator<type-parameter-0-0>' against 'const XesamSearch'
operator==(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:1293:1:
note: candidate template ignored: could not match
      '__wrap_iter<type-parameter-0-0>' against 'const XesamSearch'
operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y)
throw()
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:1795:6:
note: candidate template ignored: could not match
      'allocator<type-parameter-0-0>' against 'const XesamSearch'
bool operator==(const allocator<_Tp>&, const allocator<_Up>&) throw() {return
true;}
     ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2879:1:
note: candidate template ignored: could not match
      'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'const
XesamSearch'
operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y)
{return __x.get() == __y.get();}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2915:1:
note: candidate template ignored: could not match
      'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'const
XesamSearch'
operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) throw()
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2923:1:
note: candidate template ignored: could not match
      'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'const
XesamSearch'
operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) throw()
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:4716:1:
note: candidate template ignored: could not match
      'shared_ptr<type-parameter-0-0>' against 'const XesamSearch'
operator==(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) throw()
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:4765:1:
note: candidate template ignored: could not match
      'shared_ptr<type-parameter-0-0>' against 'const XesamSearch'
operator==(const shared_ptr<_Tp>& __x, nullptr_t) throw()
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:4773:1:
note: candidate template ignored: could not match
      'shared_ptr<type-parameter-0-0>' against 'const XesamSearch'
operator==(nullptr_t, const shared_ptr<_Tp>& __x) throw()
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:493:6:
note: candidate template ignored: could not match
      'fpos<type-parameter-0-0>' against 'const XesamSearch'
bool operator==(const fpos<_StateT>& __x, const fpos<_StateT>& __y)
     ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:3796:1:
note: candidate template ignored: could not match
      'basic_string<type-parameter-0-0, type-parameter-0-1,
type-parameter-0-2>' against 'const XesamSearch'
operator==(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:3808:1:
note: candidate template ignored: could not match
      'basic_string<char, std::__1::char_traits<char>, type-parameter-0-0>'
against 'const XesamSearch'
operator==(const basic_string<char, char_traits<char>, _Allocator>& __lhs,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:3827:1:
note: candidate template ignored: could not match
      'const _CharT *' against 'value_type' (aka 'XesamSearch')
operator==(const _CharT* __lhs,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:3836:1:
note: candidate template ignored: could not match
      'basic_string<type-parameter-0-0, type-parameter-0-1,
type-parameter-0-2>' against 'const XesamSearch'
operator==(const basic_string<_CharT,_Traits,_Allocator>& __lhs,
^
1 error generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150417/b6d3c648/attachment.html>


More information about the llvm-bugs mailing list