View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001724aMuleMiscpublic2012-08-10 17:082014-09-15 13:53
Reportermr_hyde 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product VersionSVN 
Target VersionFixed in Version2.3.2 
Summary0001724: MAC OS SnowLeopard Universal Binary: unable to compile with gcc 4.0, SVN rev 10792
DescriptionUsing 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 InformationReported 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> >’
TagsNo tags attached.
Fixed in Revision10803
Operating SystemAny
Attached Files

- Relationships

-  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 - 2019 MantisBT Team
Powered by Mantis Bugtracker