View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013319CMakeCMakepublic2012-06-19 12:312013-01-09 10:56
ReporterDaniel Richard G. 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformPowerPCOSAIXOS Version5.3
Product VersionCMake 2.8.8 
Target VersionCMake 2.8.9Fixed in VersionCMake 2.8.9 
Summary0013319: "no matching function for call to std::string.clear(), std::string.push_back()"
DescriptionFrom a nightly AIX dashboard, building with a vendor-supplied GCC ("g++ -v" returns "gcc version 2.9-aix51-020209"):

.../CMake/Tests/CMakeLib/run_compile_commands.cxx: In method `void CompileCommandParser::ParseString ()':
.../CMake/Tests/CMakeLib/run_compile_commands.cxx:66: no matching function for call to `basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::clear ()'
.../CMake/Tests/CMakeLib/run_compile_commands.cxx:71: no matching function for call to `basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::push_back (char &)'

(from http://open.cdash.org/viewBuildError.php?buildid=2375368 [^])
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0029742)
Brad King (manager)
2012-06-19 14:04

Try replacing 'x.clear()' with 'x = ""' and 'x.pushback(y)' with 'x.append(1,y)'.
(0029743)
Daniel Richard G. (reporter)
2012-06-19 14:15

Yep, it compiles cleanly with

    this->String = "";
    this->String.append(1, C);
(0029744)
Brad King (manager)
2012-06-19 14:23

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=96b66a49 [^]
(0032032)
Robert Maynard (manager)
2013-01-09 10:56

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-06-19 12:31 Daniel Richard G. New Issue
2012-06-19 14:04 Brad King Note Added: 0029742
2012-06-19 14:15 Daniel Richard G. Note Added: 0029743
2012-06-19 14:23 Brad King Note Added: 0029744
2012-06-19 14:23 Brad King Assigned To => Brad King
2012-06-19 14:23 Brad King Status new => resolved
2012-06-19 14:23 Brad King Resolution open => fixed
2012-08-09 19:40 David Cole Fixed in Version => CMake 2.8.9
2012-08-09 19:40 David Cole Target Version => CMake 2.8.9
2013-01-09 10:56 Robert Maynard Note Added: 0032032
2013-01-09 10:56 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team