News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

CC Deleting Source Files

Started by DYSEQTA, February 01, 2016, 05:19:56 AM

Previous topic - Next topic

DYSEQTA

CC is deleting source files on an error involving output file names.


cc -c /std:C11 /Tamd64-coff /Ze /FoMain.o Main.c


No problem. Produces Main.o as expected.


cc -c /std:C11 /Tamd64-coff /Ze /Fo Main.o Main.c


Shows CC command help and then deletes Main.c

CC.exe Version 8.0.0.0 64bit
OS: Windows 10 Pro 64bit

Command line screenshot demonstrating issue in action attached.

TimoVJL

This behavior are in cc's from version 7
This command delete source file too.
>cc -Fo Main.c
May the source be with you