> +#ifdef HAVE_REGEXEC
> + args_count = opal_argv_count(options_data[i].compiler_args);
> + for (j = 0 ; j < args_count ; ++j) {
> + if (0 != regcomp(&res, options_data[i].compiler_args[j],
> REG_NOSUB)) {
> + return -1;
> + }
> +
> + if (0 == regexec(&res, arg, (size_t) 0, NULL, 0)) {
missing regfree(&res);?> + return i; > + } > + > + regfree(&res); > + } > +#else regards Bert
