Date: Wed, 22 Oct 1997 10:27:24 +0200 (IST) From: Eli Zaretskii To: joseanmo AT unex DOT es cc: djgpp AT delorie DOT com Subject: Re: Absurd error in printf sentences In-Reply-To: <877455508.12195@dejanews.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit Precedence: bulk On Tue, 21 Oct 1997 joseanmo AT unex DOT es wrote: > I´ve compiled a program with several printf sentences in standard > output without any error or warnings, but in execution, before a > simple printf sentence the program chashes with the next messages: > - Exit code 255 (000ff) in a Rhide window > - The contents of register in stderror window You need to post here the message in the stderror window. It contains crucial information as to the nature of your problem. A code fragment from the place where it crashes would also be nice. Without this information, people here can only use telepathy to guess what's wrong with your code, and you cannot expect that. > - In Rhide message window: > Call frame traceback: > in function printf+27 > ptest(123) in function main ^^^^^^^^^^^^^^^^^^^^^^^^^^^ This is the location of your problem. You need to debug at that location to see what's wrong. See also section 9.2 of the DJGPP FAQ list (v2/faq210b.zip from the same place you get DJGPP), which explains how to interpret some of the info that you get in the RHIDE stderror window.