From 12a27ab6fcabdc60f760ab4851f115f517855737 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 1 Oct 2008 16:49:25 +0000 Subject: Build compiles against the new changes to libbu++ now. Also got rid of those stupid const char */char * warnings. **There is no functional change in this version, you do not need to update.** --- src/build.h | 2 +- src/buildparser.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/build.h b/src/build.h index c436ae1..1ffb547 100644 --- a/src/build.h +++ b/src/build.h @@ -6,7 +6,7 @@ #include #include -#include "bu/exceptions.h" +#include "bu/exceptionbase.h" #include "rule.h" #include "target.h" #include "action.h" diff --git a/src/buildparser.cpp b/src/buildparser.cpp index a00bd73..8f40097 100644 --- a/src/buildparser.cpp +++ b/src/buildparser.cpp @@ -362,7 +362,7 @@ void BuildParser::debugDump() for( SetVarList::iterator j = (*i).second.lVar.begin(); j != (*i).second.lVar.end(); j++ ) { - char *op; + const char *op; switch( (*j).third ) { case setSet: op = "="; break; @@ -376,7 +376,7 @@ void BuildParser::debugDump() for( SetVarList::iterator j = lGlobalVars.begin(); j != lGlobalVars.end(); j++ ) { - char *op; + const char *op; switch( (*j).third ) { case setSet: op = "="; break; -- cgit v1.2.3