comp.lang.ada
 help / color / mirror / Atom feed
From: awdorrin <awdorrin@gmail.com>
Subject: Re: gnatpp error message
Date: Thu, 2 Aug 2012 05:40:25 -0700 (PDT)
Date: 2012-08-02T05:40:25-07:00	[thread overview]
Message-ID: <5fa192b3-0996-4bcf-84f2-32290207b67c@googlegroups.com> (raw)
In-Reply-To: <d1a9e643-0f6f-4b65-bccc-3551143571ef@googlegroups.com>

I have a script which has a list of directories containing Ada source code.
The script first uses 'gnatname' to generate a pragma config file, to match up the legacy naming scheme to the package names.

gnatname ${DIRS} -c cfg.adc "*_s.ada" "*_b.ada" "*.ada"

(Where DIRS contains a list of directories with the -d argument)

I then have a loop which goes into each directory and executes the 'gnatpp' command:

gnatpp -M120 -i2 -w -v -dd -gnatec=./cfg.adc ${INCS} *.ada

(Where INCS is a list of directories with the -I argument)

I have 487 Ada source files, 8 files produce the 'Pre_Operation failed' exception.



      reply	other threads:[~2012-08-07  6:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-01 19:03 gnatpp error message awdorrin
2012-08-02  0:35 ` Britt
2012-08-02 12:40   ` awdorrin [this message]
replies disabled

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