Pelles C forum

Pelles C => Bug reports => Topic started by: DYSEQTA on February 01, 2016, 05:19:56 AM

Title: CC Deleting Source Files
Post by: DYSEQTA on February 01, 2016, 05:19:56 AM
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.
Title: Re: CC Deleting Source Files
Post by: TimoVJL on February 01, 2016, 09:09:30 AM
This behavior are in cc's from version 7
This command delete source file too.
>cc -Fo Main.c