]> git.saurik.com Git - apt.git/commitdiff
Some more g++-3.2 fixes.
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:59:57 +0000 (16:59 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:59:57 +0000 (16:59 +0000)
Author: doogie
Date: 2002-11-11 06:55:50 GMT
Some more g++-3.2 fixes.

apt-inst/contrib/extracttar.cc
apt-inst/deb/dpkgdb.cc
apt-inst/extract.cc
apt-pkg/algorithms.cc
apt-pkg/contrib/cmndline.cc
apt-pkg/contrib/configuration.h
apt-pkg/pkgsystem.h
debian/changelog

index e0feaee122781c3e7f4f9ef9a98ae42c38ae6f48..41cc9c8ec2cf90374e48a5145a198f0f030e7abe 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: extracttar.cc,v 1.5 2002/03/26 07:38:58 jgg Exp $
+// $Id: extracttar.cc,v 1.6 2002/11/11 06:55:50 doogie Exp $
 /* ######################################################################
 
    Extract a Tar - Tar Extractor
@@ -32,6 +32,7 @@
 #include <fcntl.h>
 #include <iostream>
                                                                        /*}}}*/
+using namespace std;
     
 // The on disk header for a tar file.
 struct ExtractTar::TarHeader
index 6c790540c8509f48eb8e5c239cf0920e4b3397a6..cc3bd966bd7d83290d5ecad6177d6784eb30a7a6 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: dpkgdb.cc,v 1.5 2002/03/26 07:38:58 jgg Exp $
+// $Id: dpkgdb.cc,v 1.6 2002/11/11 06:55:50 doogie Exp $
 /* ######################################################################
 
    DPKGv1 Database Implemenation
@@ -33,6 +33,7 @@
 #include <ctype.h>
 #include <iostream>
                                                                        /*}}}*/
+using namespace std;
 
 // EraseDir - Erase A Directory                                                /*{{{*/
 // ---------------------------------------------------------------------
index d184a5e9d6ddf1114d139791e3ff3290607df15a..5e3ed5af8380c33c323ae92ed2342854a27f9cae 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: extract.cc,v 1.4 2002/03/26 07:38:57 jgg Exp $
+// $Id: extract.cc,v 1.5 2002/11/11 06:55:50 doogie Exp $
 /* ######################################################################
 
    Archive Extraction Directory Stream
@@ -58,6 +58,7 @@
 #include <dirent.h>
 #include <iostream>
                                                                        /*}}}*/
+using namespace std;
 
 static const char *TempExt = "dpkg-tmp";
 //static const char *NewExt = "dpkg-new";
index fec16e09589d5dd2d8385a6c74f4131d6f31b7fa..3e367599535d7a46f246fd053d428704fa1fc626 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: algorithms.cc,v 1.42 2002/11/09 23:10:32 doogie Exp $
+// $Id: algorithms.cc,v 1.43 2002/11/11 06:55:50 doogie Exp $
 /* ######################################################################
 
    Algorithms - A set of misc algorithms
@@ -26,6 +26,7 @@
     
 #include <iostream>
                                                                        /*}}}*/
+using namespace std;
 
 pkgProblemResolver *pkgProblemResolver::This = 0;
 
index 807383560d399e62e19514b2dfa706f1bf30742f..6f0de103b653d2f1d4e708539d1e9ce164791de5 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: cmndline.cc,v 1.13 2002/09/14 05:29:22 jgg Exp $
+// $Id: cmndline.cc,v 1.14 2002/11/11 06:58:55 doogie Exp $
 /* ######################################################################
 
    Command Line Class - Sophisticated command line parser
@@ -20,6 +20,7 @@
 
 #include <apti18n.h>    
                                                                        /*}}}*/
+using namespace std;
 
 // CommandLine::CommandLine - Constructor                              /*{{{*/
 // ---------------------------------------------------------------------
index 418e210bc3c286b1d5940ec9b46725b0576d4c0b..0ed8f59d3853fdd11698bde51dff76ed00db03f9 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: configuration.h,v 1.15 2002/11/09 17:11:25 doogie Exp $
+// $Id: configuration.h,v 1.16 2002/11/11 06:55:50 doogie Exp $
 /* ######################################################################
 
    Configuration Class
@@ -91,8 +91,8 @@ class Configuration
    
    inline const Item *Tree(const char *Name) const {return Lookup(Name);};
 
-   inline void Dump() { Dump(clog); };
-   void Dump(ostream& str);
+   inline void Dump() { Dump(std::clog); };
+   void Dump(std::ostream& str);
 
    Configuration(const Item *Root);
    Configuration();
index 54da6fcc1a55e737e765cc37fc61c252d5fb265a..a7d555140058bde82438e7a6f5cf10a4d2d36cce 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: pkgsystem.h,v 1.5 2002/03/26 07:38:58 jgg Exp $
+// $Id: pkgsystem.h,v 1.6 2002/11/11 06:55:50 doogie Exp $
 /* ######################################################################
 
    System - Abstraction for running on different systems.
@@ -79,7 +79,7 @@ class pkgSystem
    virtual bool ArchiveSupported(const char *Type) = 0;
 
    // Return a list of system index files..
-   virtual bool AddStatusFiles(vector<pkgIndexFile *> &List) = 0;   
+   virtual bool AddStatusFiles(std::vector<pkgIndexFile *> &List) = 0;   
    virtual bool FindIndex(pkgCache::PkgFileIterator File,
                          pkgIndexFile *&Found) const = 0;
    
index cf266558f96377da9982b3c78f2bbc643dd1fe36..7a9fb1e5f12cb2d5b918c1becd48c08c6a9482e7 100644 (file)
@@ -21,7 +21,7 @@ apt (0.5.5) unstable; urgency=low
         #139994, #142955, #151654, #151834, #147611, #154268
   * Fix possibility for tag file parsing to fail in some unlikely situations.
     Closes: #139328
-  * Use std C++ names for some header files. Closes: #128741
+  * Use std C++ names for some header files. Closes: #128741
   * Do not check for free space if --no-download. Closes: #117856
   * Actually implement or group handling for 'upgrade'. Closes: #133950
   * "Internal Error, Couldn't configure pre-depend" is not actually an
@@ -48,7 +48,7 @@ apt (0.5.5) unstable; urgency=low
   * Show file name on apt-extracttemplate error messges. Closes: #151835
   * i18n gettext stuff, based on work from Michael Piefel: Closes: #95933
   * Some highly unlikely memory faults. Closes: #155842
-  * C++ stuff for G++3.2. Closes: #162617
+  * C++ stuff for G++3.2. Closes: #162617, #165515, 
   * apt-config dumps sends to stdout not stderr now.  Closes: #146294
   * Fix segfault in FindAny when /i is used, and there is no default.
     Closes: #165891