]> git.saurik.com Git - apt.git/commitdiff
G++ 3.2 fixes
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 17:00:15 +0000 (17:00 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 17:00:15 +0000 (17:00 +0000)
Author: jgg
Date: 2003-01-11 07:18:44 GMT
G++ 3.2 fixes

cmdline/apt-cache.cc
cmdline/apt-config.cc
cmdline/apt-extracttemplates.cc
cmdline/apt-sortpkgs.cc

index 640775eefc10b91af7e77dae7d58171a1ede864e..7b9fdbd2250c8c28351b21d3a5cdaa8e96593eea 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: apt-cache.cc,v 1.59 2002/11/09 22:47:19 doogie Exp $
+// $Id: apt-cache.cc,v 1.60 2003/01/11 07:18:44 jgg Exp $
 /* ######################################################################
    
    apt-cache - Manages the cache files
@@ -39,6 +39,8 @@
 #include <stdio.h>
                                                                        /*}}}*/
 
+using namespace std;
+
 pkgCache *GCache = 0;
 pkgSourceList *SrcList = 0;
 
index 9a937a10fe76c9fa17327131f7047d7a67c30581..1c3de2bed3f37cb86bc0d8fcb50a8e726b16309b 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: apt-config.cc,v 1.10 2002/11/09 17:11:25 doogie Exp $
+// $Id: apt-config.cc,v 1.11 2003/01/11 07:18:44 jgg Exp $
 /* ######################################################################
    
    APT Config - Program to manipulate APT configuration files
@@ -28,6 +28,7 @@
 #include <iostream>
 #include <string>
                                                                        /*}}}*/
+using namespace std;
 
 // DoShell - Handle the shell command                                  /*{{{*/
 // ---------------------------------------------------------------------
index 70e7f914aa122c7d4fe4ca8dfdde71e4b6ccf208..73b3bc51c78483dfaf86e025f21f59b20d0586e1 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: apt-extracttemplates.cc,v 1.13 2002/11/09 23:08:08 doogie Exp $
+// $Id: apt-extracttemplates.cc,v 1.14 2003/01/11 07:18:44 jgg Exp $
 /* ######################################################################
    
    APT Extract Templates - Program to extract debconf config and template
@@ -41,6 +41,8 @@
 #include "apt-extracttemplates.h"
                                                                        /*}}}*/
 
+using namespace std;
+
 #define TMPDIR         "/tmp"
 
 pkgCache *DebFile::Cache = 0;
index 63ad51f5f05c8e4041f5b63e82824e2a7ff1beb4..a0ec2263e85815edf984f67046e0e30dfd0e586c 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: apt-sortpkgs.cc,v 1.4 2002/02/15 03:40:00 jgg Exp $
+// $Id: apt-sortpkgs.cc,v 1.5 2003/01/11 07:18:44 jgg Exp $
 /* ######################################################################
    
    APT Sort Packages - Program to sort Package and Source files
@@ -29,6 +29,8 @@
 #include <unistd.h>
                                                                        /*}}}*/
 
+using namespace std;
+
 struct PkgName
 {
    string Name;