On Mon 02 Jul 2001 12:22, "Konovalov, Vadim Vladimirovich (Vadim)" <vkonovalov@lucent.com> wrote: > Hello all, > > I've discovered that Borland C++ does not accepts a construct in gv.c (it explains that '#' is unexpected here, i.e. some preprocessor failure) > > I've marked them as //vv in patch in order to build perl, but real patch must be smarter than this. Why use C++ comment style? I'd expect almost any other non-C++ ANSI compiler to choak on this. Please use /*...*/ > someone who wrote these lines, please change them in a more clever for other compilers way. > > diff -u -r perl@11059-orig/gv.c perl@11059/gv.c > --- perl@11059-orig/gv.c Sun Jul 1 01:21:34 2001 > +++ perl@11059/gv.c Mon Jul 2 10:13:14 2001 > @@ -1365,9 +1365,9 @@ > #endif > if (!(AMGf_noleft & flags) && SvAMAGIC(left) > && (mg = mg_find((SV*)( > -#ifdef DEGUGGING > +//vv #ifdef DEGUGGING -- H.Merijn Brand Amsterdam Perl Mongers (http://www.amsterdam.pm.org/) using perl-5.6.1, 5.7.1 & 626 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3, WinNT 4, Win2K pro & WinCE 2.11 often with Tk800.022 &/| DBD-Unify ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/Thread Previous