]> git.saurik.com Git - apt.git/commitdiff
G++3 fixes from Randolph
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:57:52 +0000 (16:57 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:57:52 +0000 (16:57 +0000)
Author: jgg
Date: 2001-05-07 05:05:13 GMT
G++3 fixes from Randolph

apt-pkg/contrib/cdromutl.h
apt-pkg/contrib/configuration.h
apt-pkg/contrib/error.h
apt-pkg/contrib/fileutl.h
apt-pkg/contrib/md5.h
apt-pkg/contrib/progress.h
apt-pkg/contrib/sha1.h
apt-pkg/deb/debversion.cc
apt-pkg/deb/dpkgpm.cc
apt-pkg/deb/dpkgpm.h

index 309857ddef851fecf274e43b3a76b62111d808ad..3180a03c70f4bcf6a54fbf18d7b2382f19b4b5f6 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: cdromutl.h,v 1.2 1999/06/05 03:54:29 jgg Exp $
+// $Id: cdromutl.h,v 1.3 2001/05/07 05:06:52 jgg Exp $
 /* ######################################################################
 
    CDROM Utilities - Some functions to manipulate CDROM mounts.
@@ -12,6 +12,8 @@
 
 #include <string>
 
+using std::string;
+
 #ifdef __GNUG__
 #pragma interface "apt-pkg/cdromutl.h"
 #endif 
index 84a8cf07ea3482774dbf93c32a612039ea7d961d..bc2b0fd15c65f15a114d600f836d6a8c2229119e 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: configuration.h,v 1.13 2001/03/11 07:22:19 jgg Exp $
+// $Id: configuration.h,v 1.14 2001/05/07 05:06:52 jgg Exp $
 /* ######################################################################
 
    Configuration Class
@@ -34,6 +34,8 @@
 
 #include <string>
 
+using std::string;
+
 class Configuration
 {
    public:
index 0dc57927af3dbc2ff7304a673a8e17e1b56842e9..a5fc1a223bd68d8b1286ad1937fcb0ec2fa01219 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: error.h,v 1.7 2001/02/20 07:03:17 jgg Exp $
+// $Id: error.h,v 1.8 2001/05/07 05:06:52 jgg Exp $
 /* ######################################################################
    
    Global Erorr Class - Global error mechanism
@@ -55,6 +55,8 @@
     
 #include <string>
 
+using std::string;
+
 class GlobalError
 {
    struct Item
index 8d5f03b056652312768dfff01f0c317a72fa7c15..b6b9cae836894facc248f47908b66288843bbfe5 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: fileutl.h,v 1.25 2001/04/22 05:42:53 jgg Exp $
+// $Id: fileutl.h,v 1.26 2001/05/07 05:06:52 jgg Exp $
 /* ######################################################################
    
    File Utilities
@@ -27,6 +27,8 @@
 
 #include <string>
 
+using std::string;
+
 class FileFd
 {
    protected:
index 8b809729b4828387debdae81695c5a39a8afdda2..47c6a7cec12637806add1098a3c80e7770746bc5 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: md5.h,v 1.5 2001/02/20 07:03:17 jgg Exp $
+// $Id: md5.h,v 1.6 2001/05/07 05:06:52 jgg Exp $
 /* ######################################################################
    
    MD5SumValue - Storage for a MD5Sum
@@ -29,6 +29,8 @@
 
 #include <string>
 
+using std::string;
+
 class MD5Summation;
 
 class MD5SumValue
index f095451560cebcc3a4202aeed90320b2daa25afd..d0b1f5f942732e4fa407903d3ae6e3beac7a6a82 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: progress.h,v 1.5 1999/01/18 06:20:08 jgg Exp $
+// $Id: progress.h,v 1.6 2001/05/07 05:06:52 jgg Exp $
 /* ######################################################################
    
    OpProgress - Operation Progress
@@ -28,6 +28,8 @@
 #include <string>
 #include <sys/time.h>
 
+using std::string;
+
 class Configuration;
 class OpProgress
 {
index 89c8a1ec099832cec88e1b673c6c4083b20e5c49..7d25ceb0d59276ccbeba18eb7477786a09f2c9d7 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: sha1.h,v 1.2 2001/04/25 07:30:13 tausq Exp $
+// $Id: sha1.h,v 1.3 2001/05/07 05:05:47 jgg Exp $
 /* ######################################################################
 
    SHA1SumValue - Storage for a SHA-1 hash.
@@ -20,6 +20,8 @@
 
 #include <string>
 
+using std::string;
+
 class SHA1Summation;
 
 class SHA1SumValue
index e7c42fd1151a915fafb8a4f3c33508e5e77bf7dc..17281425be816aedc9b180b37c93570bf0500730 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: debversion.cc,v 1.2 2001/02/20 07:03:17 jgg Exp $
+// $Id: debversion.cc,v 1.3 2001/05/07 05:14:53 jgg Exp $
 /* ######################################################################
 
    Debian Version - Versioning system for Debian
@@ -19,6 +19,7 @@
 #include <apt-pkg/pkgcache.h>
 
 #include <stdlib.h>
+#include <ctype.h>
                                                                        /*}}}*/
 
 debVersioningSystem debVS;
index ae761ec4d62154a5f71b0c90fd8b4234f971cb90..5ba1325c3eae22fa34a08c1f9627aba2717c2ebc 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: dpkgpm.cc,v 1.19 2001/02/22 06:26:27 jgg Exp $
+// $Id: dpkgpm.cc,v 1.20 2001/05/07 05:14:24 jgg Exp $
 /* ######################################################################
 
    DPKG Package Manager - Provide an interface to dpkg
@@ -16,7 +16,7 @@
 #include <apt-pkg/configuration.h>
 #include <apt-pkg/depcache.h>
 #include <apt-pkg/strutl.h>
-    
+
 #include <unistd.h>
 #include <stdlib.h>
 #include <fcntl.h>
@@ -25,6 +25,9 @@
 #include <signal.h>
 #include <errno.h>
 #include <stdio.h>
+#include <iostream>
+
+using namespace std;
                                                                        /*}}}*/
 
 // DPkgPM::pkgDPkgPM - Constructor                                     /*{{{*/
index 761aac76b479538142b1d3697aef6d8556740698..5d60b32d2c18a7ccccba8daea72fac918b1285a7 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: dpkgpm.h,v 1.7 2001/02/20 07:03:17 jgg Exp $
+// $Id: dpkgpm.h,v 1.8 2001/05/07 05:05:13 jgg Exp $
 /* ######################################################################
 
    DPKG Package Manager - Provide an interface to dpkg
@@ -18,6 +18,8 @@
 #include <vector>
 #include <stdio.h>
 
+using std::vector;
+
 class pkgDPkgPM : public pkgPackageManager
 {
    protected: