cw(1onbld) shouldn't shadow pure preprocessing
When invoking Studio, cw(1onbld) doesn't invoke the compiler when it is being run as a shadow and purely for pre-processing.
For some reason, it does invoke GCC.
More recent GCC does not accept multiple pre-processing source files in combination with the -o option.
We should just not run either compiler when shadowing a preprocessing step.
Updated by Electric Monk about 1 year ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit aa9ef484c6f8ecee85dfefdb4970c50cfa2db302 Author: John Levon <email@example.com> Date: 2018-10-04T00:34:40.000Z 9128 cw(1onbld) should be able to run multiple shadows 9129 file-locking tests shouldn't build multiple source files in one compiler invocation 9130 DTrace tst.gcc.d isn't useful 9132 cw(1onbld) shouldn't shadow pure preprocessing Portions contributed by: Richard Lowe <firstname.lastname@example.org> Reviewed by: Andy Fiddaman <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>