[CXX-243] Fails to build with gcc-4.8.2 when optimization is enabled Created: 28/May/14 Updated: 13/Jun/14 Resolved: 29/May/14 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Implementation |
| Affects Version/s: | legacy-0.9.0 |
| Fix Version/s: | legacy-0.10.0 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | legacy-cxx | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
When building with optimization the command_writer.cpp file fails to build due to a warning being escalated to an error:
|
| Comments |
| Comment by Githook User [ 29/May/14 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: The existing loop, while correct, introduced a lot of state variables and iterator Refactoring to use a double loop and two tracking iterators removes the need |
| Comment by Andrew Morrow (Inactive) [ 29/May/14 ] |
| Comment by Andrew Morrow (Inactive) [ 28/May/14 ] |
|
Bumping to critical since building with optimization is the normal user mode of building, and because travis changes are blocking on this. Not 'blocker' only because can be worked around with --disable-warnings-as-errors |