ChessUSA.com TalkChess.com
Hosted by Your Move Chess & Games
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Finding errors where indexes goes beyond their boudaries
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
Jens Bęk Nielsen



Joined: 07 Jul 2011
Posts: 206
Location: Denmark

PostPost subject: Re: Finding errors where indexes goes beyond their boudaries    Posted: Sun May 13, 2012 10:31 am Reply to topic Reply with quote

Hi Sven

Thanks for your helpful advices. I will be more aware of asserts in the future.

After many hours of debugging I have found the error in something I have restructured recently.
An array was defined too small, and then the index exceeded the boundary.

PS. If you install DevCpp and intend to use gcc, be sure to get at more recent version of gcc.
I had another strange error, and Jim Ablett helped me go get the Ruben-Vb Gcc 4.7.0 version.
He wrote:

"Replace your Gcc installation (4.6.2) in devcpp with this one(4.7.0) (just overwrite it - it's a direct replacement) >

http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/release/i686-w64-mingw32-gcc-4.7.0-release-win32_rubenvb.7z/download

This is what I use and it compiles correctly."
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Subject Author Date/Time
Finding errors where indexes goes beyond their boudaries Jens Bęk Nielsen Sun May 06, 2012 6:34 pm
      Re: Finding errors where indexes goes beyond their boudaries Dan Honeycutt Sun May 06, 2012 6:45 pm
      Re: Finding errors where indexes goes beyond their boudaries Sven Schüle Sun May 06, 2012 9:46 pm
            Re: Finding errors where indexes goes beyond their boudaries Jim Ablett Sun May 06, 2012 11:14 pm
                  Re: Finding errors where indexes goes beyond their boudaries Julien MARCEL Sun May 06, 2012 11:26 pm
      Re: Finding errors where indexes goes beyond their boudaries Jim Bell Mon May 07, 2012 11:16 am
      Re: Finding errors where indexes goes beyond their boudaries Jens Bęk Nielsen Mon May 07, 2012 3:07 pm
            Re: Finding errors where indexes goes beyond their boudaries Sven Schüle Wed May 09, 2012 4:08 pm
                  Re: Finding errors where indexes goes beyond their boudaries Jens Bęk Nielsen Sun May 13, 2012 10:31 am
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2001, 2005 phpBB Group
Enhanced with Moby Threads