Project

General

Profile

Bug #1683

Charmc ends up deleting .C/.cpp file in case you forget to specify the output file while compiling

Added by Samarth Kulshreshtha almost 2 years ago. Updated almost 2 years ago.

Status:
Merged
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
09/20/2017
Due date:
% Done:

0%


Description

Repro:

1. touch test.cpp
2. charmc -o test.cpp

This will end up deleting test.cpp.

Note: g++ does not have this behavior.

History

#1 Updated by Michael Robson almost 2 years ago

  • Target version set to 6.8.1
  • Assignee set to Phil Miller

We should catch the lack of input file the way gcc (or similar) does

#2 Updated by Phil Miller almost 2 years ago

  • Status changed from New to Implemented

#3 Updated by Phil Miller almost 2 years ago

  • Status changed from Implemented to Merged

Also available in: Atom PDF