Looks like Perl redefined cbool from something sensible to this new flavor:

#define cBOOL(cbool) ((bool) (cbool))


Which causes all sorts of compiler complaints, as you have seen. I'm not
sure what the proper solution is: some places like
https://www.spinics.net/lists/linux-perf-users/msg27894.html seem to
suggest that ignoring that warning is the way forward at this point. I
think it was a poor decision to change cBOOL like that, but not sure if
there is anything that can be done at the DBI level. As a first step, try
taking -Wbad-function-cast out of $opts{DEFINE} in Makefile.PL and see if
that at least gets it to compile.

Cheers,
Greg

Reply via email to