I'm trying to compile Perl 5.6.0 for Win32 using the Mingw32 toolkit. In the past (5.005_03) I've had nice success with this method, but not today. Specifically when compiling perly.c (and also toke.c) I get the following messages: C:\mingw32\clintp\perl-5.6.0\win32>dmake gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPERLDLL -DPERL_CORE -g -O2 -DPERL_EXTERNAL_GLOB -o.\mini\perly.o ..\perly.c perly.c: In function `Perl_yyparse': perly.c:1395: incompatible types in assignment perly.c:1396: incompatible types in assignment perly.c:1466: incompatible types in assignment perly.c:1520: incompatible types in assignment perly.c:1559: incompatible types in assignment perly.c:2427: incompatible types in assignment perly.c:2473: incompatible types in assignment perly.c: In function `yydestruct': perly.c:2497: incompatible types in assignment perly.c:2498: incompatible types in assignment For example, line 1395-6 of perly.c is: ysave->oldyyval = yyval; ysave->oldyylval = yylval; So for some reason PL_yyval (the type of yyval) is not the same type as YYSTYPE (the type of ysave->oldyyval). /* from perly.h */ typedef union { I32 ival; char *pval; OP *opval; GV *gvval; } YYSTYPE; In toke.c the same error occurs, between those two types. Has anyone gotten 5.6.0 to compile in the Mingw32 environment and care to lend a hand?Thread Previous