From 04612428b5c2d0d46c3862e22c57a1a45dacfb26 Mon Sep 17 00:00:00 2001 From: "Alexander S. Aganichev" Date: Thu, 6 Jun 2002 14:14:20 +0000 Subject: [PATCH] Namespace/gcc3.x complaints fixed --- GNUmakef.def | 2 +- goldnode/goldnode.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/GNUmakef.def b/GNUmakef.def index d8612d8..248d084 100644 --- a/GNUmakef.def +++ b/GNUmakef.def @@ -66,7 +66,7 @@ endif # force not to use coprocessor features in DOS, if you have one you may remove this ifeq ($(PLATFORM),djg) -CFLAGS+=-m386 +CFLAGS+=-mcpu=i386 LNKFLAGS+=-lwmemu endif diff --git a/goldnode/goldnode.cpp b/goldnode/goldnode.cpp index 6083579..e30d70c 100644 --- a/goldnode/goldnode.cpp +++ b/goldnode/goldnode.cpp @@ -110,7 +110,7 @@ const word _NET = 0x0003; const word _ZONE = 0x0004; const word _TEST = 777; -static string nodepath; // Path to the nodelist files +static std::string nodepath; // Path to the nodelist files static time_t runtime = 0; static int sh_mod = SH_DENYWR; @@ -855,7 +855,7 @@ static void read_nodelists() { if(not quiet) std::cout << "* Writing statistics to " << statfilename << std::endl; - ofstream ofp(statfilename); + std::ofstream ofp(statfilename); if(not ofp) { if(not quiet) std::cout << "Error opening statfile " << statfilename << '!' << std::endl; }