On Fri, 2 Sep 2011, Gary Funck wrote:
> On 09/02/11 13:42:32, Joseph S. Myers wrote:
> > [..] you should just generate #if/#error in the output [...]
>
> OK, take two, attached. (Confirmed that the #if works for
> the (<, ==, >) relationships between n_langs and the max.
> number of languages su
On 09/02/11 13:42:32, Joseph S. Myers wrote:
> [..] you should just generate #if/#error in the output [...]
OK, take two, attached. (Confirmed that the #if works for
the (<, ==, >) relationships between n_langs and the max.
number of languages supported.)
- Gary
2011-09-02 Gary Funck
On Thu, 1 Sep 2011, Gary Funck wrote:
> +# MAX_LANG is the maximum number of languages that can be defined.
> +# Its value is extracted from the value of CL_PARAMS in opts.h
> +# and is passed on the command line as '-v max_lang=...'.
> +if (n_langs > max_lang) {
> + print "Error: the number of d
2011-09-01 Gary Funck
* opts.c (print_specific_help): Fix off-by-one compare in
assertion check.
* opts.h (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_DRIVER,
CL_TARGET, CL_COMMON, CL_JOINED, CL_SEPARATE, CL_UNDOCUMENTED):
Increase by +5 to allow for more