On 27/08/10 17:04, John Scoles wrote:
> Martin J. Evans wrote:
> Rather than blasting out a whole new RC for this can you make this quick
> fix to
> 
> ocitrace.h
> 
> #define OCILobLocatorIsInit_log_stat(envhp,errhp,loc,is_initp,stat)\
> --    stat =OCILobLocatorIsInit (envhp,errhp,loc,is_init );\
> ++    stat =OCILobLocatorIsInit (envhp,errhp,loc,is_initp );\
> 
> Hopefully that will get it
> 
> Cheers
> John Scoles

Apologies for slow response but I've been on holiday.

That does fix the issue of the warning - please commit it for the next release.

Martin
 
> 
>> John Scoles wrote:
>>  
>>> Well story two of the  'two bit' version of DBD::Oracle 1.25
>>>
>>> You can find release candidate 2 here
>>>
>>> http://svn.perl.org/modules/dbd-oracle/trunk/DBD-Oracle-1.25-RC2.tar.gz
>>>
>>> This one has some minor changes from Martin Evans, though I could not
>>> find any issues with the Makfile.PL myself.
>>> and hopefully I got rid of the warning error in the .xs file for
>>> OCILobLocatorIsInit_log_stat
>>>
>>> And of course the usual bunch of POD changes.
>>>
>>> Cheers
>>> John Scoles
>>>
>>> -- 
>>> New! Learn why & how to love your data with Pythian's new webinar 
>>> series.
>>> Topics, details & register: http://www.pythian.com/webinars
>>>
>>>     
>>
>> Sorry for taking so long to try this RC.
>>
>> The gzipped tar file you reference appears to be doubly gzipped BTW.
>>
>> OCILobLocatorIsInit problem still seems to exist for me:
>>
>> cc -c  -I/home/oracle/instantclient_11_1//sdk/include
>> -I/usr/local/lib/perl/5.10.0/auto/DBI -D_REENTRANT -D_GNU_SOURCE
>> -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include
>> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"1.25\"
>> -DXS_VERSION=\"1.25\" -fPIC "-I/usr/lib/perl/5.10/CORE"  -Wall
>> -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.1.0.6\" -DORA_OCI_102
>> Oracle.c
>> Oracle.xs: In function ‘XS_DBD__Oracle__db_ora_lob_is_init’:
>> Oracle.xs:486: warning: passing argument 4 of ‘OCILobLocatorIsInit’
>> makes pointer from integer without a cast
>> /home/oracle/instantclient_11_1//sdk/include/ociap.h:7297: note:
>> expected ‘boolean *’ but argument is of type ‘boolean’
>>
>> Other than the usual 26exe_array test this seems to work ok here.
>>
>> Hope you enjoyed YAPC::EU 2010.
>>
>> Martin
>>   
> 


-- 
Martin J. Evans
Easysoft Limited
http://www.easysoft.com

Reply via email to