[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cons 2.3.0 bug?
From: |
David Sanderson |
Subject: |
Re: Cons 2.3.0 bug? |
Date: |
Mon, 30 Jul 2001 18:20:54 -0400 |
| I seem to have discovered a bug in Cons in multi-target commands.
| I've enclosed a Construct which works properly the first time, but if
| you change 'hello' to 'goodbye' in the Conscript it rebuilds a.c, b.h,
| and c.h, but then stops -- it doesn't rebuild a.exe.
|
| The way this script is SUPPOSED to work is that the first Command
| generates a script foo.bat, which, when run, will generate some source
| code. The second Command uses foo.bat to generate a.c, and also
| does some other stuff. This is the Command with the bug. The final
| Program uses the generated a.c to make a (or a.exe on Win32).
I've seen something like this too, but I haven't yet had a chance to
whittle it down to a non-proprietary test case. Superficially, the
problem is very like what you describe: it will build everything the
first time, but when you then change a source file it won't propagate
the changes through. The problem does not exist in cons-2.2.0, which is
what I've reverted to for the time being.
David Sanderson (address@hidden)