Ticket #181 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

A failed compile with -ert :yes leaves intermediate file behind

Reported by: hopscc Owned by: Chuck
Priority: minor Milestone:
Component: Cobra Compiler Version: 0.8.0
Keywords: Cc:


If you compile with -ert:yes (-embed-run-time) and the compile fails (before code gen) a single intermediate file named 'Native_ert_<long_random_hex_string>'
is left lying around.

After multiple failed compiles theres a lot of garbage files piled up.

The call to _deleteIntermediateFiles needs to be also done in Compiler.cobra:_exitFromErrors to do cleanup on errors to cover this.
(without -ert theres no intermediate files generated before codegen so its not a problem for the default case).


ert-cleanup-intfiles.patch Download (2.3 KB) - added by hopscc 9 years ago.

Change History

Changed 9 years ago by hopscc

Changed 9 years ago by hopscc

patch,test and relnote update

Changed 9 years ago by hopscc

  • status changed from new to assigned
  • owner changed from hops to Chuck

Changed 9 years ago by Chuck

  • status changed from assigned to closed
  • resolution set to fixed

Applied in changeset:2210


Note: See TracTickets for help on using tickets.