#24 patch to fix build with clang++

closed
nobody
None
5
2012-11-08
2011-01-30
Anonymous
No

Hi,

Here is a patch that fixed the build with the llvm-clang c++ compiler.

Regards
Pawel

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2011-01-30

    patch

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2011-01-30

    The errors where of this kind:

    In file included from GString.cpp:75:
    In file included from ./GString.h:113:
    ./GContainer.h:1281:62: error: use of undeclared identifier 'get_or_create'
    { return (VTYPE&)(((typename GMapImpl<KTYPE,TI>::MNode*)(get_or_create(key)))->val); }
    ^
    this->
    GString.cpp:1481:12: note: in instantiation of member function 'DJVU::GMapTemplate<DJVU::GUTF8String, DJVU::GUTF8String,="" DJVU::GUTF8String="">::operator[]' requested here
    Basic["lt"] = GUTF8String('<');
    ^
    In file included from GString.cpp:75:
    In file included from ./GString.h:113:
    ./GContainer.h:1182:16: note: must qualify identifier to find this declaration in dependent base class
    GCONT HNode* get_or_create(const K &key);
    ^

     
  • Leon Bottou

    Leon Bottou - 2011-02-11

    Applied to git.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks