Re: DBI Driver.xst and DBD::cego

2013-05-27 Thread Tim Bunce
Hi Kurt. On Sun, May 26, 2013 at 08:13:58PM +0200, Kurt Jaeger wrote: https://rt.cpan.org/Ticket/Display.html?id=84285 error: invalid conversion from 'const char*' to 'char*' I'm surprised the compiler treats this as an error, it's normally a warning. -char *plural =

Re: DBI Driver.xst and DBD::cego

2013-05-27 Thread Kurt Jaeger
Hi! Tim wrote: On Sun, May 26, 2013 at 08:13:58PM +0200, Kurt Jaeger wrote: https://rt.cpan.org/Ticket/Display.html?id=84285 error: invalid conversion from 'const char*' to 'char*' I'm surprised the compiler treats this as an error, it's normally a warning. -char *plural =

Re: DBI Driver.xst and DBD::cego

2013-05-27 Thread Jonathan Leffler
Since the only place 'plural' is used is the statement immediately after the assignment, it is much simpler and perfectly safe to use const char *plural = ... than to futz around with the myp array as in the second patch (or to cast away constness as in the first patch). On Mon, May 27, 2013