aMule Bug Tracker - aMule | |||||
| View Issue Details | |||||
| 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 | |||
| Fixed in Revision | 10803 | ||||
| Operating System | Any | ||||
| 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>) | ||||
| Steps To Reproduce | |||||
| 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. | ||||
| Relationships | |||||
| Attached Files | |||||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||