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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-9278-1398501434-253.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 338
Download (untitled) / with headers
text/plain 338b
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
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-9278-1398501434-253.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-9278-1398501434-253.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-25797-1398505328-846.95057-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 640
Download (untitled) / with headers
text/plain 640b
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.