diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2008-04-25 20:45:37 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2008-04-25 20:45:37 +0000 |
| commit | d2a6765115b6091ec3d64d98533ca38ca98a9c71 (patch) | |
| tree | 8883942201397877be0fc85136fcd926332bd4a4 /buildtool.cpp | |
| parent | Tweak "errorOccurred" (diff) | |
| download | inkscape-d2a6765115b6091ec3d64d98533ca38ca98a9c71.tar.gz inkscape-d2a6765115b6091ec3d64d98533ca38ca98a9c71.zip | |
remove tabs
(bzr r5520)
Diffstat (limited to '')
| -rw-r--r-- | buildtool.cpp | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/buildtool.cpp b/buildtool.cpp index f0237afaa..ead2e8da0 100644 --- a/buildtool.cpp +++ b/buildtool.cpp @@ -4208,7 +4208,7 @@ bool MakeBase::parseFileList(Element *elem, { error("tag <%s> not allowed in <fileset>", tagName.c_str()); return false; - } + } } String dir; @@ -6162,7 +6162,7 @@ public: TaskCC(MakeBase &par) : Task(par) { type = TASK_CC; - name = "cc"; + name = "cc"; ccCommand = "gcc"; cxxCommand = "g++"; source = "."; @@ -6185,9 +6185,9 @@ public: String fname = excludeInc[i]; if (fname == dirname) return true; - } + } return false; - } + } virtual bool execute() { @@ -6255,7 +6255,7 @@ public: /** * Compile each of the C files that need it */ - bool errorOccurred = false; + bool errorOccurred = false; std::vector<String> cfiles; for (viter=deps.begin() ; viter!=deps.end() ; viter++) { @@ -6387,6 +6387,7 @@ public: fprintf(f, "\n"); fprintf(f, "#### STDOUT ###\n%s\n", outString.c_str()); fprintf(f, "#### STDERR ###\n%s\n\n", errString.c_str()); + fflush(f); } if (!ret) { @@ -6405,6 +6406,7 @@ public: return !errorOccurred; } + virtual bool parse(Element *elem) { String s; @@ -6928,10 +6930,10 @@ public: cmd.append(" -target "); cmd.append(target); cmd.append(" "); - } - String fname = "javalist.btool"; - FILE *f = fopen(fname.c_str(), "w"); - int count = 0; + } + String fname = "javalist.btool"; + FILE *f = fopen(fname.c_str(), "w"); + int count = 0; for (unsigned int i=0 ; i<fileList.size() ; i++) { String fname = fileList[i]; @@ -6962,7 +6964,7 @@ public: { taskstatus("nothing to do"); return true; - } + } taskstatus("compiling %d files", count); |
