Просмотр исходного кода

G++ 3.2 fixes
Author: jgg
Date: 2003-01-11 07:18:44 GMT
G++ 3.2 fixes

Arch Librarian лет назад: 22
Родитель
Сommit
8f312f45c9
4 измененных файлов с 11 добавлено и 4 удалено
  1. 3 1
      cmdline/apt-cache.cc
  2. 2 1
      cmdline/apt-config.cc
  3. 3 1
      cmdline/apt-extracttemplates.cc
  4. 3 1
      cmdline/apt-sortpkgs.cc

+ 3 - 1
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 <stdio.h>
 									/*}}}*/
 
+using namespace std;
+
 pkgCache *GCache = 0;
 pkgSourceList *SrcList = 0;
 

+ 2 - 1
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 <iostream>
 #include <string>
 									/*}}}*/
+using namespace std;
 
 // DoShell - Handle the shell command					/*{{{*/
 // ---------------------------------------------------------------------

+ 3 - 1
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;

+ 3 - 1
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 <unistd.h>
 									/*}}}*/
 
+using namespace std;
+
 struct PkgName
 {
    string Name;