Skip Menu |

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

Report information
The Basics
Id: 63712
Status: resolved
Priority: 0/
Queue: DBD-Sybase

People
Owner: mpeppler [...] peppler.org
Requestors: eberg [...] bergbrains.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.11
Fixed in: (no value)



Subject: dbdimp.c:1092: warning: assignment makes integer from pointer without a cast
DBD-Sybase-1.11 Linux cffialxprd362 2.6.9-74.ELsmp #1 SMP Tue Jun 17 16:53:55 EDT 2008 i686 i686 i386 GNU/Linux Red Hat Enterprise Linux AS release 4 (Nahant Update 6) When running make, I get the following error output: gcc -c -I/opt/sybclient-12.5/OCS-12_5/include -I/home/nypntdev/iprs_perl/lib/site_perl/5.12.1/i686-linux/auto/DBI -fPIC -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.11\" -DXS_VERSION=\"1.11\" -fPIC "-I/home/nypntdev/iprs_perl/lib/5.12.2/i686-linux/CORE" dbdimp.c dbdimp.c: In function `syb_db_login': dbdimp.c:1092: warning: assignment makes integer from pointer without a cast dbdimp.c: In function `syb_st_fetch': dbdimp.c:4017: error: `CS_UNITEXT_TYPE' undeclared (first use in this function) dbdimp.c:4017: error: (Each undeclared identifier is reported only once dbdimp.c:4017: error: for each function it appears in.) make: *** [dbdimp.o] Error 1 I was able to build 1.10 with no problem.
On Tue Dec 07 14:48:14 2010, rickyberg wrote: Show quoted text
> gcc -c -I/opt/sybclient-12.5/OCS-12_5/include > -I/home/nypntdev/iprs_perl/lib/site_perl/5.12.1/i686-linux/auto/DBI > -fPIC -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.11\" > -DXS_VERSION=\"1.11\" -fPIC > "-I/home/nypntdev/iprs_perl/lib/5.12.2/i686-linux/CORE" dbdimp.c > dbdimp.c: In function `syb_db_login': > dbdimp.c:1092: warning: assignment makes integer from pointer without
a cast Show quoted text
> dbdimp.c: In function `syb_st_fetch': > dbdimp.c:4017: error: `CS_UNITEXT_TYPE' undeclared (first use in this > function)
I am aware of the issue. In dbdimp.c you can work around this by adding an #ifdef around the block where CS_UNITEXT_TYPE is used. I have already patched my source.
Subject: Re: [rt.cpan.org #63712] dbdimp.c:1092: warning: assignment makes integer from pointer without a cast
Date: Wed, 08 Dec 2010 14:02:10 -0500
To: bug-DBD-Sybase [...] rt.cpan.org
From: Eric Berg <eberg [...] bergbrains.com>
Great, man. Thanks, Michael. And thanks for all your amazing work over the years. Eric On 12/8/10 1:45 PM, Michael Peppler via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=63712> > > On Tue Dec 07 14:48:14 2010, rickyberg wrote:
>> gcc -c -I/opt/sybclient-12.5/OCS-12_5/include >> -I/home/nypntdev/iprs_perl/lib/site_perl/5.12.1/i686-linux/auto/DBI >> -fPIC -fno-strict-aliasing -pipe -I/usr/local/include >> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.11\" >> -DXS_VERSION=\"1.11\" -fPIC >> "-I/home/nypntdev/iprs_perl/lib/5.12.2/i686-linux/CORE" dbdimp.c >> dbdimp.c: In function `syb_db_login': >> dbdimp.c:1092: warning: assignment makes integer from pointer without
> a cast
>> dbdimp.c: In function `syb_st_fetch': >> dbdimp.c:4017: error: `CS_UNITEXT_TYPE' undeclared (first use in this >> function)
> I am aware of the issue. In dbdimp.c you can work around this by adding > an #ifdef around the block where CS_UNITEXT_TYPE is used. I have already > patched my source.
Fixed in 1.12 (to be released today).