Building latest master branch with clang

Discussion in 'Development General' started by Lamperi, Dec 12, 2013.

  1. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    Anybody wanna decrypher C++ 11? Why is not istringmap working?

     
  2. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Must be the version of clang or the std::map lib included by qt, which does or does not define something correctly with const and the compare operator.

    clang works fine for me :

    Code (text):
    1. Debian clang version 3.2-7ubuntu1 (tags/RELEASE_32/final) (based on LLVM 3.2)
    2. Target: x86_64-pc-linux-gnu
    3. Thread model: posix
    4.  
    At least for the teambuilder (compile error on RelayStation!)

    I have ubuntu 13.04.

    Edit: I've tried something, maybe it will work? At least it can't hurt.
     
  3. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    Yes, this helped. Looking at the first error message, no matching function for call to object of type
    'const icompare,
    ​it should have been obvious what is the problem :)