[Cmake-commits] CMake branch, next, updated. v2.8.8-3238-g0c3eb32

Brad King brad.king at kitware.com
Tue Jun 19 14:23:11 EDT 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  0c3eb3281ff9cc3d1145789cdc4f83f47a36cab2 (commit)
       via  96b66a49630d85abb5cf5d9779e7eb601a4fc8bb (commit)
      from  a4470b092c5e4c33498afe53b9224049b4b50391 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0c3eb3281ff9cc3d1145789cdc4f83f47a36cab2
commit 0c3eb3281ff9cc3d1145789cdc4f83f47a36cab2
Merge: a4470b0 96b66a4
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Tue Jun 19 14:23:09 2012 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Tue Jun 19 14:23:09 2012 -0400

    Merge topic 'run_compile_commands-aix-gcc-2.9' into next
    
    96b66a4 Avoid string.clear and string.push_back (#13319)


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=96b66a49630d85abb5cf5d9779e7eb601a4fc8bb
commit 96b66a49630d85abb5cf5d9779e7eb601a4fc8bb
Author:     Daniel R. Gomez <gomez at teragram.com>
AuthorDate: Tue Jun 19 14:21:34 2012 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Tue Jun 19 14:21:34 2012 -0400

    Avoid string.clear and string.push_back (#13319)
    
    Compiler "gcc version 2.9-aix51-020209" does not offer them.

diff --git a/Tests/CMakeLib/run_compile_commands.cxx b/Tests/CMakeLib/run_compile_commands.cxx
index 434cbee..dc1ce24 100644
--- a/Tests/CMakeLib/run_compile_commands.cxx
+++ b/Tests/CMakeLib/run_compile_commands.cxx
@@ -63,12 +63,12 @@ private:
 
   void ParseString()
   {
-    this->String.clear();
+    this->String = "";
     if(!Expect('"')) return;
     while (!Expect('"'))
       {
       Expect('\\');
-      this->String.push_back(C);
+      this->String.append(1,C);
       Next();
       }
   }

-----------------------------------------------------------------------

Summary of changes:
 Tests/CMakeLib/run_compile_commands.cxx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list