Namespace/gcc3.x complaints fixed

This commit is contained in:
Alexander S. Aganichev 2002-06-06 14:14:20 +00:00
parent de13de9e4d
commit 04612428b5
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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;
}