delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/22/04:31:10

Date: Wed, 22 Oct 1997 10:27:24 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
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: <Pine.SUN.3.91.971022102226.7037F-100000@is>
MIME-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019