aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-11-12 17:25:51 +0000
committerMike Buland <eichlan@xagasoft.com>2009-11-12 17:25:51 +0000
commitad6f4dfcc671d3f8d458c42b0992956f2a2cf979 (patch)
tree76442bd4eec8d84777c4664f4424384558b99947
parent18b953acc63545125411b7c9a78f322339fbe7bd (diff)
downloadbuild-ad6f4dfcc671d3f8d458c42b0992956f2a2cf979.tar.gz
build-ad6f4dfcc671d3f8d458c42b0992956f2a2cf979.tar.bz2
build-ad6f4dfcc671d3f8d458c42b0992956f2a2cf979.tar.xz
build-ad6f4dfcc671d3f8d458c42b0992956f2a2cf979.zip
Works with libbu++ changes.
-rw-r--r--Makefile2
-rw-r--r--src/cache.cpp4
-rw-r--r--src/cache.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index a06f7fa..c1cf095 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
1LIBBU:=$(foreach f,paramproc.h paramproc.cpp fstring.h fstring.cpp exceptionbase.cpp exceptionbase.h archive.cpp archive.h archival.cpp archival.h plugger.h plugger.cpp singleton.h hash.cpp hash.h file.h file.cpp stream.h stream.cpp list.h list.cpp set.h set.cpp trace.h trace.cpp util.h fbasicstring.cpp fbasicstring.h sharedcore.cpp sharedcore.h,src/$f) 1LIBBU:=$(foreach f,paramproc.h paramproc.cpp fstring.h fstring.cpp exceptionbase.cpp exceptionbase.h archive.cpp archive.h archival.cpp archival.h plugger.h plugger.cpp singleton.h hash.cpp hash.h file.h file.cpp stream.h stream.cpp list.h list.cpp set.h set.cpp trace.h trace.cpp util.h fbasicstring.cpp fbasicstring.h sharedcore.cpp sharedcore.h archivebase.cpp archivebase.h util.h util.cpp,src/$f)
2SRC:=$(sort $(wildcard src/*.cpp) $(patsubst src/%,src/bu/%,$(filter %.cpp,$(LIBBU)))) 2SRC:=$(sort $(wildcard src/*.cpp) $(patsubst src/%,src/bu/%,$(filter %.cpp,$(LIBBU))))
3OBJ:=src/build.yy.o src/build.tab.o $(patsubst %.cpp,%.o,$(SRC)) 3OBJ:=src/build.yy.o src/build.tab.o $(patsubst %.cpp,%.o,$(SRC))
4REV:=$(shell svn info | grep "Revision" | cut -d\ -f2) 4REV:=$(shell svn info | grep "Revision" | cut -d\ -f2)
diff --git a/src/cache.cpp b/src/cache.cpp
index b8e94ec..d2bf537 100644
--- a/src/cache.cpp
+++ b/src/cache.cpp
@@ -15,7 +15,7 @@ Cache::~Cache()
15 } 15 }
16} 16}
17 17
18void Cache::archive( class Bu::Archive &ar ) 18void Cache::archive( class Bu::ArchiveBase &ar )
19{ 19{
20 if( ar.isLoading() ) 20 if( ar.isLoading() )
21 { 21 {
@@ -87,7 +87,7 @@ void Cache::archive( class Bu::Archive &ar )
87 { 87 {
88 (*i).second = cnt; 88 (*i).second = cnt;
89 cnt++; 89 cnt++;
90 std::string s = ((*i).first); 90 Bu::FString s( ((*i).first).c_str(), ((*i).first).size() );
91 ar << s; 91 ar << s;
92 } 92 }
93 93
diff --git a/src/cache.h b/src/cache.h
index 93b546c..50264de 100644
--- a/src/cache.h
+++ b/src/cache.h
@@ -14,7 +14,7 @@ public:
14 Cache(); 14 Cache();
15 virtual ~Cache(); 15 virtual ~Cache();
16 16
17 virtual void archive( class Bu::Archive &ar ); 17 virtual void archive( class Bu::ArchiveBase &ar );
18 18
19 class Entry 19 class Entry
20 { 20 {