Bugs item #2840225, was opened at 2009-08-19 13:05
Message generated for change (Settings changed) made by sjoerd
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2840225&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: buildtools "stable"
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Marcin Zukowski (e-r00)
Assigned to: Sjoerd Mullender (sjoerd)
Summary: Mx creates output files even on errors

Initial Comment:
Try the following file

@f z
@= i_do_exist
I DO EXIST
@= i_do_not_exist
I DO NOT EXIST
@c
@:i_do_exist@
@:i_dont_exist@

Then running:
$ Mx -c z.mx
Mx:Unresolved reference:i_dont_exist[z.mx:11].
z.mx: ./z.c - created 

What happens is that z.c is created even though the error appeared. As a 
result, when compiling first with "make" and then with "make -k", the z.c file 
exists, making the compilation continue. Still, z.c is incomplete, leading to 
weird effects.

Mx (like any other compiler) should not generate output files if it detects an 
error condition

----------------------------------------------------------------------

>Comment By: Sjoerd Mullender (sjoerd)
Date: 2009-10-07 12:27

Message:
No tests for Mx issues.

----------------------------------------------------------------------

Comment By: Marcin Zukowski (e-r00)
Date: 2009-10-07 11:29

Message:
Works for me, thanks!

----------------------------------------------------------------------

Comment By: Sjoerd Mullender (sjoerd)
Date: 2009-10-02 10:42

Message:
I just checked in a fix in the Aug2009 stable branch.  Can you check?
With this fix, the output file is not touched when there was an error
(i.e. if it existed already, it is kept).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2840225&group_id=56967

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to