Re: Re: const qualifier violation in regex.c:re_comp()

Bruno Haible <[email protected]> Fri, 15 Oct 2004 14:38:53 +0200
Newsgroups gmane.comp.lib.gnulib.bugs,gmane.comp.version-control.cvs.bugs
Message-ID <[email protected]>
Derek Robert Price wrote:
> I prefer to avoid typecasting whenever possible, because, otherwise,
> what is the point of a compiler with type checking?

The type cast is necessary here because re_comp's return type is wrong.

> Anyhow, whoever makes a decision and updates GNULIB, please drop me a
> line so I may update CVS.

Paul Eggert has fixed gnulib's regex.c on 2004-10-04.

Bruno