- Enabled compiler warnings, which were off.  Yikes.
- Fixed all compiler warnings on OSX.
This commit is contained in:
Paul Beckingham
2011-05-28 23:59:43 -04:00
parent 36e24fa1fb
commit 0260aff441
40 changed files with 121 additions and 82 deletions

View File

@@ -286,7 +286,7 @@ void Arguments::extract_sequence (std::vector <int>& sequence)
std::vector <int> kill;
bool terminated = false;
for (int i = 0; i < this->size (); ++i)
for (unsigned int i = 0; i < this->size (); ++i)
{
if (!terminated)
{
@@ -358,7 +358,7 @@ void Arguments::extract_sequence (std::vector <int>& sequence)
}
// Now remove args in the kill list.
for (int k = 0; k < kill.size (); ++k)
for (unsigned int k = 0; k < kill.size (); ++k)
this->erase (this->begin () + kill[k]);
}