Author: aschnell
Date: Mon Mar 19 11:18:56 2012
New Revision: 67659
URL: http://svn.opensuse.org/viewcvs/yast?rev=67659&view=rev
Log:
- fixed for gcc 4.7
Modified:
trunk/core/base/tools/tty_wrapper/tty_wrapper.cc
trunk/core/debugger/Debugger.cc
trunk/core/liby2util-r/src/Process.cc
trunk/core/liby2util-r/src/include/y2util/Rep.h
trunk/core/package/yast2-core.changes
Modified: trunk/core/base/tools/tty_wrapper/tty_wrapper.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/base/tools/tty_wrapper/tty_wrapper.cc?rev=67659&r1=67658&r2=67659&view=diff
==============================================================================
--- trunk/core/base/tools/tty_wrapper/tty_wrapper.cc (original)
+++ trunk/core/base/tools/tty_wrapper/tty_wrapper.cc Mon Mar 19 11:18:56 2012
@@ -33,6 +33,7 @@
#include
#include <iostream>
+#include
extern "C"
{
Modified: trunk/core/debugger/Debugger.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/debugger/Debugger.cc?rev=67659&r1=67658&r2=67659&view=diff
==============================================================================
--- trunk/core/debugger/Debugger.cc (original)
+++ trunk/core/debugger/Debugger.cc Mon Mar 19 11:18:56 2012
@@ -36,6 +36,7 @@
#include
#include
#include
+#include
#define ADDRESS "/tmp/yast.socket"
#define PORT 16384
Modified: trunk/core/liby2util-r/src/Process.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/liby2util-r/src/Process.cc?rev=67659&r1=67658&r2=67659&view=diff
==============================================================================
--- trunk/core/liby2util-r/src/Process.cc (original)
+++ trunk/core/liby2util-r/src/Process.cc Mon Mar 19 11:18:56 2012
@@ -34,6 +34,7 @@
#include
#include <cstring>
#include
+#include
/**
Modified: trunk/core/liby2util-r/src/include/y2util/Rep.h
URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/liby2util-r/src/include/y2util/Rep.h?rev=67659&r1=67658&r2=67659&view=diff
==============================================================================
--- trunk/core/liby2util-r/src/include/y2util/Rep.h (original)
+++ trunk/core/liby2util-r/src/include/y2util/Rep.h Mon Mar 19 11:18:56 2012
@@ -512,7 +512,7 @@
/**
* Constructor. From Ptr<..,_Bt>, i.e. pointer to an object that inherits _Bt.
**/
- Ptr( const PtrBase<_Bt> & rhs ) { _ptr.tryAssign( getBase( rhs ) ); }
+ Ptr( const PtrBase<_Bt> & rhs ) { _ptr.tryAssign( this->getBase( rhs ) ); }
public:
@@ -527,7 +527,7 @@
/**
* Assign from Ptr<..,_Bt>, i.e. pointer to an object that inherits _Bt.
**/
- Ptr & operator=( const PtrBase<_Bt> & rhs ) { _ptr.tryAssign( getBase( rhs ) ); return *this; }
+ Ptr & operator=( const PtrBase<_Bt> & rhs ) { _ptr.tryAssign( this->getBase( rhs ) ); return *this; }
public:
@@ -593,7 +593,7 @@
/**
* Constructor. From constPtr<..,_Bt>, i.e. pointer to an object that inherits _Bt.
**/
- constPtr( const constPtrBase<_Bt> & rhs ) { _ptr.tryAssign( getBase( rhs ) ); }
+ constPtr( const constPtrBase<_Bt> & rhs ) { _ptr.tryAssign( this->getBase( rhs ) ); }
public:
@@ -608,7 +608,7 @@
/**
* Assign from constPtr<..,_Bt>, i.e. pointer to an object that inherits _Bt.
**/
- constPtr & operator=( const constPtrBase<_Bt> & rhs ) { _ptr.tryAssign( getBase( rhs ) ); return *this; }
+ constPtr & operator=( const constPtrBase<_Bt> & rhs ) { _ptr.tryAssign( this->getBase( rhs ) ); return *this; }
public:
@@ -619,7 +619,7 @@
/**
* Constructor. From nonconst Ptr<..,_Bt>, i.e. pointer to an object that inherits _Bt.
**/
- constPtr( const PtrBase<_Bt> & rhs ) { _ptr.tryAssign( getBase( rhs ) ); }
+ constPtr( const PtrBase<_Bt> & rhs ) { _ptr.tryAssign( this->getBase( rhs ) ); }
public:
@@ -630,7 +630,7 @@
/**
* Assign from nonconst Ptr<..,_Bt>, i.e. pointer to an object that inherits _Bt.
**/
- constPtr & operator=( const PtrBase<_Bt> & rhs ) { _ptr.tryAssign( getBase( rhs ) ); return *this; }
+ constPtr & operator=( const PtrBase<_Bt> & rhs ) { _ptr.tryAssign( this->getBase( rhs ) ); return *this; }
public:
Modified: trunk/core/package/yast2-core.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/package/yast2-core.changes?rev=67659&r1=67658&r2=67659&view=diff
==============================================================================
--- trunk/core/package/yast2-core.changes (original)
+++ trunk/core/package/yast2-core.changes Mon Mar 19 11:18:56 2012
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Mon Mar 19 11:18:22 CET 2012 - aschnell@suse.de
+
+- fixed for gcc 4.7
+
+-------------------------------------------------------------------
Fri Mar 16 14:40:00 CET 2012 - aschnell@suse.de
- do not use xcrypt (removes bigcrypt) (fate #312617)
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org