Ticket #181 (closed defect: fixed)
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
Change History
Note: See
TracTickets for help on using
tickets.