aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2008-10-01 16:49:25 +0000
committerMike Buland <eichlan@xagasoft.com>2008-10-01 16:49:25 +0000
commit12a27ab6fcabdc60f760ab4851f115f517855737 (patch)
tree15698b39aa1611adfc010239385d3dbad24e7e65
parent450c9d8af9ad812f735839d024c77777f5ef7465 (diff)
downloadbuild-12a27ab6fcabdc60f760ab4851f115f517855737.tar.gz
build-12a27ab6fcabdc60f760ab4851f115f517855737.tar.bz2
build-12a27ab6fcabdc60f760ab4851f115f517855737.tar.xz
build-12a27ab6fcabdc60f760ab4851f115f517855737.zip
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.**
-rw-r--r--src/build.h2
-rw-r--r--src/buildparser.cpp4
2 files changed, 3 insertions, 3 deletions
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 @@
6#include <map> 6#include <map>
7#include <string> 7#include <string>
8 8
9#include "bu/exceptions.h" 9#include "bu/exceptionbase.h"
10#include "rule.h" 10#include "rule.h"
11#include "target.h" 11#include "target.h"
12#include "action.h" 12#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()
362 for( SetVarList::iterator j = (*i).second.lVar.begin(); 362 for( SetVarList::iterator j = (*i).second.lVar.begin();
363 j != (*i).second.lVar.end(); j++ ) 363 j != (*i).second.lVar.end(); j++ )
364 { 364 {
365 char *op; 365 const char *op;
366 switch( (*j).third ) 366 switch( (*j).third )
367 { 367 {
368 case setSet: op = "="; break; 368 case setSet: op = "="; break;
@@ -376,7 +376,7 @@ void BuildParser::debugDump()
376 for( SetVarList::iterator j = lGlobalVars.begin(); 376 for( SetVarList::iterator j = lGlobalVars.begin();
377 j != lGlobalVars.end(); j++ ) 377 j != lGlobalVars.end(); j++ )
378 { 378 {
379 char *op; 379 const char *op;
380 switch( (*j).third ) 380 switch( (*j).third )
381 { 381 {
382 case setSet: op = "="; break; 382 case setSet: op = "="; break;