This is the mail archive of the gcc-patches@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: cpplib: command line argument parsing


On Thu, Feb 17, 2000 at 10:36:50PM +0900, Neil Booth wrote:
> +static const struct cl_option cl_opt_array[] =
> +#ifdef HOST_EBCDIC
> +  qsort(cl_options, N_OPTS, sizeof(struct cl_option*), opt_comp);
> +#endif

Can't sort a const array.


r~

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