| Anonymous | Login | Signup for a new account | 2025-11-01 00:04 CET |  | 
| My View | View Issues | Change Log | Roadmap | 
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0001724 | aMule | Misc | public | 2012-08-10 17:08 | 2014-09-15 13:53 | ||||
| Reporter | mr_hyde | ||||||||
| Assigned To | |||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | resolved | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | SVN | ||||||||
| Target Version | Fixed in Version | 2.3.2 | |||||||
| Summary | 0001724: MAC OS SnowLeopard Universal Binary: unable to compile with gcc 4.0, SVN rev 10792 | ||||||||
| Description | Using gcc 4.0, SVN rev.10792 build fails due to a missing include in src/libs/common/Format.h The problem is related to method CFormat& operator%(const std::string& value) { return this->operator%<const wxString&>(wxString(value.c_str(), wxConvUTF8)); } which refers to std::string To fix this problem I simply added in src/libs/common/Format.h #include <string> at the beginning of file (just after the #include <list>) | ||||||||
| Additional Information | Reported error by compiler is the following: Format.h: In member function ‘CFormat& CFormat::operator%(const std::string&)’: Format.h:143: error: invalid use of undefined type ‘const struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/bits/stringfwd.h:56: error: declaration of ‘const struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ | ||||||||
| Tags | No tags attached. | ||||||||
| Fixed in Revision | 10803 | ||||||||
| Operating System | Any | ||||||||
| Attached Files | |||||||||
|  Notes | |
| (0003631) mr_hyde (reporter) 2012-08-10 17:13 | I forgot to say that I was building using wxWidgets 2.8.12. | 
|  Issue History | |||
| Date Modified | Username | Field | Change | 
| 2012-08-10 17:08 | mr_hyde | New Issue | |
| 2012-08-10 17:08 | mr_hyde | Operating System | => Any | 
| 2012-08-10 17:13 | mr_hyde | Note Added: 0003631 | |
| 2014-09-15 13:53 | GonoszTopi | Fixed in Revision | => 10803 | 
| 2014-09-15 13:53 | GonoszTopi | Status | new => resolved | 
| 2014-09-15 13:53 | GonoszTopi | Resolution | open => fixed | 
| 2014-09-15 13:53 | GonoszTopi | Fixed in Version | => 2.3.2 | 
| Copyright © 2000 - 2025 MantisBT Team |