tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] tcc exit status on error


From: Rob Landley
Subject: Re: [Tinycc-devel] tcc exit status on error
Date: Sat, 18 Aug 2007 00:14:21 -0500
User-agent: KMail/1.9.6

On Sunday 08 July 2007 12:12:04 pm Michael Somos wrote:
> I am using the latest CVS version 0.9.24 and found that the exit
> status is not getting set on error occurring in the compile and link.
>
> The problem comes from the function "tcc_output_file" in "tccelf.c"
> which returns an int which is -1 if an error exists. When it's called
> in "tcc.c" the return value is ignored. That code could be improved to
>
>         ret = tcc_output_file(s, outfile) ? 1 : 0;

Sorry it took so long to apply this...

Applied.

Rob
-- 
"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]