Wiki

Ticket #181 (closed defect: fixed)

Opened 15 years ago

Last modified 15 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:

Description

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).

Attachments

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

Change History

Changed 15 years ago by hopscc

Changed 15 years ago by hopscc

patch,test and relnote update

Changed 15 years ago by hopscc

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

Changed 15 years ago by Chuck

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

Applied in changeset:2210

Thanks.

Note: See TracTickets for help on using tickets.