gcc 4.7 was throwing a sequence point warning for one line in DataSource.h. I
guess it's confused about whether position_ should be incremented before or
after the comparison. Here's the patch to make it increment after:
diff --git a/src/external/quickfast/Codecs/DataSource.h
b/src/external/quickfast/Codecs/DataSource.h
index 715bf64..e1ffb40 100644
--- a/src/external/quickfast/Codecs/DataSource.h
+++ b/src/external/quickfast/Codecs/DataSource.h
@@ -88,7 +88,8 @@ namespace QuickFAST{
size_t end = position_ + used;
while (position_ < end)
{
- doEcho(position_ < size_, buffer_[position_++]);
+ doEcho(position_ < size_, buffer_[position_]);
+ position_++;
}
}
else
Original issue reported on code.google.com by y...@fractal-llc.com on 16 Jun 2012 at 2:35
Original issue reported on code.google.com by
y...@fractal-llc.com
on 16 Jun 2012 at 2:35