Tim Bunce wrote:

On Fri, Oct 01, 2004 at 01:46:45PM +0200, Steffen Goeldner wrote:

Tim Bunce wrote:

I can live with assuming support for ANSI C style prototypes
since we already effectively require perl 5.6 and that requires ANSI C.

O.k., attached are the KR => ANSI patches for dbdimp.c and oci8.c.

Thanks, applied!

Finally, a small patch to Makefile.PL that switches bcc to picky mode (force C++). Compiles like a charm: zero errors / zero warnings.


Steffen
--- Makefile.PL.orig    Mon Sep 13 14:40:20 2004
+++ Makefile.PL Sat Oct 02 22:55:04 2004
@@ -62,6 +62,7 @@
     $opts{CAPI} = 'TRUE' if $Config{archname} =~ /-object\b/i;
 }
 
+$opts{CCFLAGS} = "-P $Config{ccflags}" if $Config{cc} eq 'bcc32';  # force C++
 $opts{LINKTYPE} = 'static' if $Config{dlsrc} =~ /dl_none/;
 
 my(@MK, %MK, $MK_TEXT, %MK_expanding); # parsed macros from Oracle's makefiles

Reply via email to