[SCM] OCE packaging branch, debian, updated. debian/0.11-1

Denis Barbier bouzim at gmail.com
Thu Dec 13 19:16:44 UTC 2012


The following commit has been merged in the debian branch:
commit 041fc269871ccdf7e28c0926f1fe5932baa5558a
Author: tpaviot <tpaviot at gmail.com>
Date:   Thu Nov 22 12:49:16 2012 +0100

    Fix compilation error on Ubuntu12.10
    
    error : 'intptr_t' was not declared in this scope.
    Bug reported by @triggerfish1 after pull request #309 was merged.

diff --git a/src/Units/Units_Token.cxx b/src/Units/Units_Token.cxx
index ad94be5..55700ab 100644
--- a/src/Units/Units_Token.cxx
+++ b/src/Units/Units_Token.cxx
@@ -394,7 +394,7 @@ void Units_Token::Dump(const Standard_Integer ashift,
   TCollection_AsciiString mean = Mean();
 
   for(i=0; i<ashift; i++)cout<<"  ";
-  cout << "Units_Token::Dump of " << hex << (intptr_t) this << dec << endl;
+  cout << "Units_Token::Dump of " << hex << (Standard_Address) this << dec << endl;
   for(i=0; i<ashift; i++)cout<<"  ";
   cout<<word.ToCString()<<endl;
   for(i=0; i<ashift; i++)cout<<"  ";

-- 
OCE packaging



More information about the debian-science-commits mailing list