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]

Re: GPC test suite (was: egcs-19980517 and gpc-980511)


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/


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