Skip Menu |

This queue is for tickets about the Alien-wxWidgets CPAN distribution.

Report information
The Basics
Id: 53293
Status: resolved
Priority: 0/
Queue: Alien-wxWidgets

People
Owner: Nobody in particular
Requestors: kmx [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Support for mingw-w64 gcc compiler (MS Windows)
Hi

I would like to propose the following simple patch that is needed for building with mingw-w64.sf.net gcc compiler (technically it is a competitor to gcc compiler from mingw.org project - the main advantage is that mingw-w64 delivers both 32/64-bit compilers).

The patch is related to "src\msw\mslu.cpp" (both wxWidgets-2.8.10 and wxWidgets-2.9.0):
- #ifdef __VISUALC__
+ #if defined(__VISUALC__) || defined(__MINGW64_VERSION_MAJOR)
      #include <direct.h>
  #endif

The reason for this patch is that functions _mkdir and _rmdir that are defined in different *.h files in mingw.org'c runtime vs. mingw-w64.sf.net's runtime.

--
kmx
Subject: Re: [rt.cpan.org #53293] Support for mingw-w64 gcc compiler (MS Windows)
Date: Thu, 07 Jan 2010 22:54:06 +0100
To: bug-Alien-wxWidgets [...] rt.cpan.org
From: Mattia Barbon <mattia.barbon [...] libero.it>
kmx via RT wrote: Hi, Show quoted text
> I would like to propose the following simple patch that is needed for building > with mingw-w64.sf.net gcc compiler (technically it is a competitor to gcc > compiler from mingw.org project - the main advantage is that mingw-w64 delivers > both 32/64-bit compilers).
Added to Subversion (but not tested). Thanks! Mattia
Hi,

tested - works fine with both 2.8.10 and 2.9.0 sources.

Changing status to PATCHED and looking forward to 0.49 release.

Thanks.

--
kmx

Uploaded Alien::wxWidgets 0.49.