This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bug report : -save-temps and stdin


Well in this case, what about a random temp file name? tmpfile ?
something with the timestamp as well.
I would like to have those files if possible. would that be acceptable?
mike

On Sun, Oct 28, 2012 at 6:40 PM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> On Sun, 28 Oct 2012, Mike  Dupont wrote:
>
>> is this known? should I report a bug? any ideas on fixing it, I might
>> be able to do so, it should be simple.
>
> I think the fix should be to give an early error message for compiling
> from stdin with -save-temps, and then stop the compilation because there's
> nowhere to save the intermediate files (given the lack of an input file
> name).
>
> --
> Joseph S. Myers
> joseph@codesourcery.com



-- 
James Michael DuPont
Member of Free Libre Open Source Software Kosova http://flossk.org
Saving wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com
Contributor FOSM, the CC-BY-SA map of the world http://fosm.org
Mozilla Rep https://reps.mozilla.org/u/h4ck3rm1k3
Free Software Foundation Europe Fellow http://fsfe.org/support/?h4ck3rm1k3


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]