develooper Front page | perl.perl5.porters | Postings from April 2014

[perl #121643] Windows build failure with's gcc-4.8.1-4

Thread Previous
Steve Hay
April 12, 2014 16:08
[perl #121643] Windows build failure with's gcc-4.8.1-4
Message ID:
# New Ticket Created by  Steve Hay 
# Please include the string:  [perl #121643]
# in the subject line of all future correspondence about this issue. 
# <URL: >

Attempting to build bleadperl with gcc-4.8.1-4 downloaded from (using their mingw-get-setup.exe to simply get the current latest version) successfully builds miniperl.exe and a bunch of pure-Perl modules, but then fails on perllib.c when trying to build perl519.dll/perl.exe.

The output of the perllib.c compilation is attached.

It seems to fail because we have BOOL DllMain(HANDLE, DWORD, LPVOID) in perllib.c, which conflicts with BOOL DllMain(HINSTANCE, DWORD, LPVOID) in mingw/include/winbase.h.

I've previously used gcc-4.7.0-1 from and gcc-4.8.0 from (rubenvb's build). These both work fine. Neither one has a declaration of DllMain its winbase.h or anywhere else.
Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About