On Sun, Sep 16, 2007 at 03:16:14PM +0200, Abe Timmerman wrote:

> - From the smokelog:
> 
> C:/MinGW/bin/../libexec/gcc/mingw32/3.4.2/collect2.exe -Bdynamic -o
> ..\generate_uudmap.exe /mingw/lib/crt2.o
> C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/crtbegin.o -Lc:\perl\lib\CORE
> - -LC:\MinGW\lib -LC:/MinGW/bin/../lib/gcc/mingw32/3.4.2
> - -LC:/MinGW/bin/../lib/gcc -L/mingw/lib/gcc/mingw32/3.4.2
> - -LC:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../mingw32/lib
> - -L/mingw/lib/gcc/mingw32/3.4.2/../../../../mingw32/lib -L/mingw/lib
> - -LC:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../..
> - -L/mingw/lib/gcc/mingw32/3.4.2/../../..
> C:\DOCUME~1\abeltje\LOCALS~1\Temp\1\mk3 -lstdc++
> - -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32
> - -lshell32 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt
> C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/crtend.o
> In file included from ..\globals.c:30:
> ..\/perl.h:4428: error: syntax error before ';' token
> dmake:  Error code 129, while making 'mini\globals.o'
> Unable to make perl in this configuration

Did the appended change fix it?

Nicholas Clark

Change 31876 by [EMAIL PROTECTED] on 2007/09/16 23:28:30

        Change 31873 was not robust against the possibility that the
        configuration has no #defined options. So add a "" that will make the
        initialiser for PL_bincompat_options syntactically correct in this
        case.

Affected files ...

... //depot/perl/perl.h#791 edit

Differences ...

==== //depot/perl/perl.h#791 (text) ====

@@ -4425,7 +4425,7 @@
 #  ifdef USE_SOCKS
                             " USE_SOCKS"
 #  endif
-  ;
+  "";
 #else
 EXTCONST char PL_bincompat_options[];
 #endif

Reply via email to