Thread
:
Code Segfaults when compiled with optimizations, doesn't in arbitrary situations
View Single Post
Feb 10th, 2008, 12:33 PM
#
7
Sane
Programming Guru
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,868
Rep Power:
5
Re: Code Segfaults when compiled with optimizations, doesn't in arbitrary situations
They say numbers are different. But for C-style strings, it has to know how long it is by the null-terminator.
http://www.boost.org/regression-logs...l/foreach.html
Sane
View Public Profile
Find More Posts by Sane