MantisBT - VCMI | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000766 | VCMI | Other | public | 2011-07-05 18:05 | 2011-09-02 00:33 |
Reporter | dimqua | ||||
Assigned To | ubuntux | ||||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Platform | Debian | OS | GNU/Linux | OS Version | |
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000766: Clang -- compilation fails | ||||
Description | Compilation fails with the following message: dimqua@localhost:~/vcmi$ make Making all in lib make[1]: Entering directory `/home/dimqua/vcmi/lib' CXX libvcmi_la-BattleAction.lo CXX libvcmi_la-BattleState.lo CXX libvcmi_la-CArtHandler.lo In file included from CArtHandler.cpp:2: In file included from ./../stdafx.h:21: ./../global.h:417:10: error: use of undeclared identifier 'find' return find(key)->second; ^ this-> CArtHandler.cpp:1298:24: note: in instantiation of member function 'bmap<unsigned short, ArtSlotInfo>::operator[]' requested here return &artifactsWorn[pos]; ^ In file included from CArtHandler.cpp:2: In file included from ./../stdafx.h:18: In file included from /usr/include/c++/4.5/map:60: /usr/include/c++/4.5/bits/stl_map.h:696:7: note: must qualify identifier to find this declaration in dependent base class find(const key_type& __x) ^ /usr/include/c++/4.5/bits/stl_map.h:711:7: note: must qualify identifier to find this declaration in dependent base class find(const key_type& __x) const ^ 1 error generated. make[1]: *** [libvcmi_la-CArtHandler.lo] Error 1 make[1]: Leaving directory `/home/dimqua/vcmi/lib' make: *** [all-recursive] Error 1 | ||||
Steps To Reproduce | $ svn co https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk [^] vcmi $ autoreconf -i $ CXX=clang ./configure --datadir=/YOUR_INSTALL_PATH/ --bindir=/YOUR_INSTALL_PATH/vcmi --libdir=/YOUR_INSTALL_PATH/ $ make | ||||
Additional Information | svn revision 2235 clang 2.9 | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | bug766v1.patch (449) 2011-07-26 21:47 https://bugs.vcmi.eu/file_download.php?file_id=760&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2011-07-05 18:05 | dimqua | New Issue | |||
2011-07-26 21:42 | exine | Note Added: 0001884 | |||
2011-07-26 21:47 | exine | File Added: bug766v1.patch | |||
2011-07-27 19:41 | Tow dragon | Note Added: 0001889 | |||
2011-07-31 14:03 | Tow dragon | Note Added: 0001891 | |||
2011-07-31 14:15 | exine | Note Added: 0001892 | |||
2011-09-02 00:33 | ubuntux | Note Added: 0001974 | |||
2011-09-02 00:33 | ubuntux | Status | new => closed | ||
2011-09-02 00:33 | ubuntux | Assigned To | => ubuntux | ||
2011-09-02 00:33 | ubuntux | Resolution | open => won't fix |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|