View Single Post
Old Feb 10th, 2008, 12:33 PM   #7
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,868
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
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 is offline   Reply With Quote