From 8f312f45c9602343744a24d2e954504e9bad8de3 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 17:00:15 +0000 Subject: [PATCH] G++ 3.2 fixes Author: jgg Date: 2003-01-11 07:18:44 GMT G++ 3.2 fixes --- cmdline/apt-cache.cc | 4 +++- cmdline/apt-config.cc | 3 ++- cmdline/apt-extracttemplates.cc | 4 +++- cmdline/apt-sortpkgs.cc | 4 +++- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc index 640775eef..7b9fdbd22 100644 --- a/cmdline/apt-cache.cc +++ b/cmdline/apt-cache.cc @@ -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 /*}}}*/ +using namespace std; + pkgCache *GCache = 0; pkgSourceList *SrcList = 0; diff --git a/cmdline/apt-config.cc b/cmdline/apt-config.cc index 9a937a10f..1c3de2bed 100644 --- a/cmdline/apt-config.cc +++ b/cmdline/apt-config.cc @@ -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 #include /*}}}*/ +using namespace std; // DoShell - Handle the shell command /*{{{*/ // --------------------------------------------------------------------- diff --git a/cmdline/apt-extracttemplates.cc b/cmdline/apt-extracttemplates.cc index 70e7f914a..73b3bc51c 100644 --- a/cmdline/apt-extracttemplates.cc +++ b/cmdline/apt-extracttemplates.cc @@ -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; diff --git a/cmdline/apt-sortpkgs.cc b/cmdline/apt-sortpkgs.cc index 63ad51f5f..a0ec2263e 100644 --- a/cmdline/apt-sortpkgs.cc +++ b/cmdline/apt-sortpkgs.cc @@ -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 /*}}}*/ +using namespace std; + struct PkgName { string Name; -- 2.45.2