View Single Post
Old Feb 9th, 2008, 10:00 PM   #3
Jessehk
The Oblivious One
 
Jessehk's Avatar
 
Join Date: May 2005
Location: Ontario, Canada
Posts: 644
Rep Power: 4 Jessehk is on a distinguished road
Re: Code Segfaults when compiled with optimizations, doesn't in arbitrary situations

After about an hour of review, I couldn't find anything obvious. However, there was one spot in my code where I was using a boost::shared_ptr where a pointer of any kind wasn't necessary. I got rid of it, and the code runs fine. I'm not exactly sure why, but everything seems to be fine now. Thanks grumpy.
__________________
Dr. Zoidberg: [ecstatic] I'm going to a movie... with FRIENDS!
Jessehk is offline   Reply With Quote