This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GPC test suite (was: egcs-19980517 and gpc-980511)
- To: law at cygnus dot com
- Subject: Re: GPC test suite (was: egcs-19980517 and gpc-980511)
- From: Peter Gerwinski <peter at gerwinski dot de>
- Date: Tue, 2 Jun 1998 10:44:24 +0200 (MEST)
- Cc: peter at gerwinski dot de, mrs at wrs dot com, Matthias dot Klose at cs dot tu-berlin dot de, egcs at cygnus dot com, gpc at hut dot fi
According to Jeffrey A Law:
>
> > Think of C programs that behave differently with `--traditional',
> > `--ansi', or `--strict-ansi'. GNU Pascal has to comply to three
> > major dialects (ISO-7185, ISO-10206, BP 7.0) with subdialects
> > (with/without "extended syntax" or Boolean short-circuit operations
> > or whatever), and they are becoming even more (ANSI Object Pascal,
> > Delphi).
> OK. Is there any way to annotate the testcase itself for the
> extra options that it needs (like a comment in the source)?
Yes: The program contains a comment of the form
(* FLAG --extended-pascal --pedantic -Werror *)
which carries the flags that must be passed to the call to `gpc'
for that the test makes sense.
Peter
--
Peter Gerwinski, Essen, Germany, http://home.pages.de/~Peter.Gerwinski/
Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-980511
PGP key on request - 6C 94 45 BE 28 A4 96 - 0E CC E9 12 47 25 82 75
Fight the SPAM and UBE! - http://spam.abuse.net/ - http://maps.vix.com/