From: Dave H. <hel...@us...> - 2012-04-17 16:17:05
|
Update of /cvsroot/sblim/wbemcli In directory vz-cvs-3.sog:/tmp/cvs-serv20056 Modified Files: ChangeLog CimCurl.cpp CimXml.h NEWS contributions.txt Log Message: Fixed 3514126: wbemcli does not compile with GCC 4.7 Index: NEWS =================================================================== RCS file: /cvsroot/sblim/wbemcli/NEWS,v retrieving revision 1.41 retrieving revision 1.42 diff -u -d -r1.41 -r1.42 --- NEWS 22 Jun 2011 05:58:39 -0000 1.41 +++ NEWS 17 Apr 2012 16:17:02 -0000 1.42 @@ -2,6 +2,7 @@ ======================== Bugs: +- 3514126 wbemcli does not compile with GCC 4.7 - 3324380 support optional CIMType in KEYVALUE element - 3216622 wbemcli throws parser error on CDATA string value - 2991546 Core dumps when property contains value within "[]" Index: ChangeLog =================================================================== RCS file: /cvsroot/sblim/wbemcli/ChangeLog,v retrieving revision 1.35 retrieving revision 1.36 diff -u -d -r1.35 -r1.36 --- ChangeLog 13 Jul 2011 21:22:36 -0000 1.35 +++ ChangeLog 17 Apr 2012 16:17:02 -0000 1.36 @@ -1,3 +1,10 @@ +2012-04-17 Dave Heller <hel...@us...> + + * CimXml.h, CimCurl.cpp, NEWS, contributions.txt: + + Fixed 3514126: wbemcli does not compile with GCC 4.7 + (Patch by Klaus Kampf) + 2011-06-21 Tyrel Datwyler <ty...@us...> * CimXml.cpp, NEWS, contributions.txt: Index: CimXml.h =================================================================== RCS file: /cvsroot/sblim/wbemcli/CimXml.h,v retrieving revision 1.38 retrieving revision 1.39 diff -u -d -r1.38 -r1.39 --- CimXml.h 22 Jun 2011 05:33:02 -0000 1.38 +++ CimXml.h 17 Apr 2012 16:17:02 -0000 1.39 @@ -129,9 +129,9 @@ public: ArrayXml() {} ArrayXml<T> * clone() const { return new ArrayXml<T>(*this);} - void add(const T& t) { push_back(t); } + void add(const T& t) { this->push_back(t); } #if !defined(GCC_VERSION) || GCC_VERSION >= 3000 - T& operator[] (size_type n) {return at(n);} + T& operator[] (size_type n) {return this->at(n);} const T& operator[] (size_type n) const {return at(n);} #endif T *get(int n) { return &(*this)[n]; } Index: contributions.txt =================================================================== RCS file: /cvsroot/sblim/wbemcli/contributions.txt,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- contributions.txt 22 Jun 2011 05:58:39 -0000 1.8 +++ contributions.txt 17 Apr 2012 16:17:02 -0000 1.9 @@ -18,6 +18,10 @@ ******************************************************************************** +04/17/2012 by Klaus Kampf +-------------------------------- +[ 3514126 ] wbemcli does not compile with GCC 4.7 + 06/21/2011 by Aruna Venkataraman -------------------------------- [ 2991546 ] Core dumps when property contains value within "[]" Index: CimCurl.cpp =================================================================== RCS file: /cvsroot/sblim/wbemcli/CimCurl.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- CimCurl.cpp 4 Mar 2009 19:10:54 -0000 1.13 +++ CimCurl.cpp 17 Apr 2012 16:17:02 -0000 1.14 @@ -28,6 +28,7 @@ #endif #include "CimCurl.h" +#include <unistd.h> // for getpass() extern int useNl; extern int dumpXml; |