From b03829b88eea51199fea457402ebe4c994878990 Mon Sep 17 00:00:00 2001 From: relnev Date: Sat, 22 Jun 2002 23:57:39 +0000 Subject: [PATCH] remove writable strings. fix compile for intel compiler. --- Makefile | 2 +- src/cfile/cfilesystem.cpp | 7 +++++++ src/starfield/starfield.cpp | 7 ++++++- src/vcodec/codec1.cpp | 4 ++-- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 563b5ff..b023ef8 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ RANLIB=ranlib CODE_BINARY=code.a FS_BINARY=freespace2 LDFLAGS=$(shell sdl-config --libs) -lopenal -CFLAGS=-Wall -g -DPLAT_UNIX $(shell sdl-config --cflags) -Iinclude/ -fwritable-strings +CFLAGS=-Wall -g -DPLAT_UNIX $(shell sdl-config --cflags) -Iinclude/ # -fwritable-strings #CFLAGS+=-O2 #CFLAGS+=-DNDEBUG #CFLAGS+=-funroll-loops # -fomit-frame-pointer # not stable? diff --git a/src/cfile/cfilesystem.cpp b/src/cfile/cfilesystem.cpp index 005a015..08d03b9 100644 --- a/src/cfile/cfilesystem.cpp +++ b/src/cfile/cfilesystem.cpp @@ -19,6 +19,11 @@ * all those locations, inherently enforcing precedence orders. * * $Log$ + * Revision 1.7 2002/06/22 23:57:39 relnev + * remove writable strings. + * + * fix compile for intel compiler. + * * Revision 1.6 2002/06/09 04:41:15 relnev * added copyright header * @@ -767,9 +772,11 @@ void cf_build_secondary_filelist(char *cdrom_dir) // Init the path types for (i=0; i