This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 4.2 Project: "@file" support
- From: Joern RENNECKE <joern dot rennecke at st dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: DJ Delorie <dj at redhat dot com>, ian at airs dot com, mark at codesourcery dot com, gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Tue, 30 Aug 2005 20:37:46 +0100
- Subject: Re: 4.2 Project: "@file" support
> applications will just work, but introducing the very serious risk of
> security problems, leading to, say:
>
> gcc: dj:yourpassword:1234:567:DJ: invalid argument
>
> instead of
>
> gcc: @/etc/passwd: invalid argument
If you want to use gcc to read a file, you get a closer likeness
to the data with:
gcc -E -C -x c /etc/passwd
Polluting argument name space seems more worrying. A long option would
not create
such ambiguities.