fixed gcc 2.96 compile problem
fluxgen fluxgen
4 files changed,
6 insertions(+),
2 deletions(-)
M
ChangeLog
→
ChangeLog
@@ -1,6 +1,8 @@
(Format: Year/Month/Day) Changes for 1.0.1: *07/10/24: + * Fixed some gcc 2.96 compile issues ( Henrik ) + Layer.hh, MinOverlapPlacement.cc, Workspace.cc * Introduced (workspacename=...) for pattern matching and changed (workspace=...) to use the workspace number, indexed from 0 (Mark) ClientPattern.cc/hh
M
src/Layer.hh
→
src/Layer.hh
@@ -23,6 +23,8 @@ #ifndef LAYER_HH
#define LAYER_HH #include <string> +#include <stdio.h> + using std::string; /**
M
src/MinOverlapPlacement.cc
→
src/MinOverlapPlacement.cc
@@ -155,7 +155,7 @@ for (; reg_it != region_set.end(); ++reg_it) {
int overlap = 0; it = windowlist.rbegin(); - for (; it != windowlist.rend(); ++it) { + for (; it != it_end; ++it) { // get the dimensions of the window int left = (*it)->x() - (*it)->xOffset();
M
src/Workspace.cc
→
src/Workspace.cc
@@ -136,7 +136,7 @@
void Workspace::removeAll(unsigned int dest) { Windows tmp_list(m_windowlist); Windows::iterator it = tmp_list.begin(); - Windows::const_iterator it_end = tmp_list.end(); + Windows::iterator it_end = tmp_list.end(); for (; it != it_end; ++it) m_screen.sendToWorkspace(dest, *it, false); }