[Bug c/36312] New: Compiling options
shoaib dot jameel at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri May 23 11:44:00 GMT 2008
Why doesn't gcc report an error or warning in such a case:
gcc filename.c -g -o filename.c
I have a very long C program, whose sources that got lost because of the above
command. All I see in my program are some junk letters.
I know it's human error, but can you please incorporate any warning message
about the above compile option. That the user is overwriting his/her own C
code?
--
Summary: Compiling options
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: shoaib dot jameel at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36312
More information about the Gcc-bugs
mailing list