Skip Menu |

This queue is for tickets about the DBD-ODBC CPAN distribution.

Report information
The Basics
Id: 95057
Status: resolved
Priority: 0/
Queue: DBD-ODBC

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.49_1
Fixed in: 1.49_2



Subject: Compile error with clang
Sample report: http://www.cpantesters.org/cpan/report/97ae9454-ccd3-11e3-8e3b-0bbb41028010 The error line is: dbdimp.c:7613:13: error: non-void function 'dbd_data_sources' should return a value [-Wreturn-type] return; FreeBSD 10 is also affected, as the default compiler was switched from gcc to clang. Regards, Slaven
On Sat Apr 26 04:37:14 2014, SREZIC wrote: Show quoted text
> Sample report: http://www.cpantesters.org/cpan/report/97ae9454-ccd3- > 11e3-8e3b-0bbb41028010 > > The error line is: > > dbdimp.c:7613:13: error: non-void function 'dbd_data_sources' should > return a value [-Wreturn-type] > return; > > FreeBSD 10 is also affected, as the default compiler was switched from > gcc to clang. > > Regards, > Slaven
Thanks, fixed on github and I'll do another release this weekend. The ton of warnings are unavoided as ODBC defines all APIs as taking unsigned chars * and all Perl's macros are char *. Martin -- Martin J. Evans Wetherby, UK