comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos" <david.c.hoos.sr@ada95.com>
To: <comp.lang.ada@ada.eu.org>
Subject: Re: creating temporary files
Date: Thu, 26 Jul 2001 16:24:50 -0500
Date: 2001-07-26T16:24:50-05:00	[thread overview]
Message-ID: <mailman.996182731.3202.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: slrn9m0vjn.1408.rajat@goteborg.austin.rr.com

Since you didn't say what version of aflex you're using, or what version
of GNAT, it's hard to definitively answer the question.

The package GNAT.OS_Lib has a procedure Create_Temp_File which
will probably fill the bill.

I know not all versions of aflex that are out there are gnat-compatible,
but if memory serves me correctly, Pascal Obry ported a version which
is gnat-compatible.  Take a look at
http://perso.wanadoo.fr/pascal.obry/archive/flexyacc.tar.gz


----- Original Message ----- 
From: "Rajat Datta" <rajat@austin.rr.com>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: Thursday, July 26, 2001 3:30 PM
Subject: creating temporary files


> Trying to run aflex on FreeBSD 4.2 using GNAT, I am coming across the
> following problem:  in two places the aflex code attempts to create a
> temporary file using Create(Temp_File, OUT_FILE) which raises a
> USE_ERROR exception.
> 
> Any workarounds besides changing the code to explicitly create a
> temporary filename?
> 
> rajat
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada.eu.org
> http://ada.eu.org/mailman/listinfo/comp.lang.ada
> 




  parent reply	other threads:[~2001-07-26 21:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-26 20:30 creating temporary files Rajat Datta
2001-07-26 20:53 ` Martin Dowie
2001-07-26 22:31   ` Rajat Datta
2001-07-26 21:24 ` David C. Hoos [this message]
2001-07-26 22:30   ` Rajat Datta
2001-07-27 17:28     ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox