On Wed, 13 Feb 2002, H.Merijn Brand wrote: >On Wed 13 Feb 2002 02:02, Jonathan Leffler <[EMAIL PROTECTED]> wrote: >> -Note that most people are still using Kernighan & Ritchie syntax here. >> -I personally don't like this and especially in this documentation it >> -cannot be of harm, so let's use ANSI. Finally Tim Bunce has announced >> -interest in moving the DBI sources to ANSI as well. >> +Since Perl 5.6 requires support for function prototypes (ANSI or ISO or >> +Standard C), you should write your code using function prototypes too. > >Perl requires ANSI-C (as of ***long*** before 5.6)
You're right; Perl 5.005 requires ANSI C. I checked in the 5.005_03 source and the INSTALL file discusses the need for an ANSI C compiler. I checked the 5.004_04 INSTALL file and it makes no mention of needing an ANSI C compiler, and I checked the source file sv.c and it does not use prototypes. >ANSI-C supports prototypes >We DBD authors /should/ use prototypes > >I couldn't be more straight. So, apart from noting that DBI 1.21 no longer supports Perl 5.004, and changing the reference from 5.6 to 5.005, do you want me to add italics to I<should>? Or drop the prevarication about ANSI vs ISO C? Or is it basically OK as it stands? -- Jonathan Leffler #include <disclaimer.h> STSM, Informix Database Engineering, IBM Data Management Solutions Phone: +1 650-926-6921 Tie-line: 630-6921 Email: [EMAIL PROTECTED] ([EMAIL PROTECTED]) Notes ID: Jonathan Leffler/Menlo Park/IBM@IBMUS Guardian of DBD::Informix v1.00.PC1 -- http://dbi.perl.org *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* Please update your address book to use [EMAIL PROTECTED] because [EMAIL PROTECTED] will not work starting 2002-07-01. Expect slower responses because I can't use Lotus Notes as fast as Unix email. One day, this signature will shrink!
