Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Bugs (& fixes) » Compilation against MINGW32 is broken
Compilation against MINGW32 is broken [message #44990] Sat, 08 August 2015 04:56 Go to next message
Novo is currently offline  Novo
Messages: 1110
Registered: December 2006
Senior Contributor
Could you please replace code below in function void ChSysInit()
#if (WINVER >= 0x0600)

with
#if (WINVER >= 0x0600 && !defined(__MINGW32_VERSION))


This should fix compilation against MINGW32. It doesn't define NONCLIENTMETRICS::iPaddedBorderWidth.
MINGW64 is fine.

I tested this issue against TDM-GCC-32 (gcc version 5.1.0 (tdm-1))

Thanks.


Regards,
Novo
Re: Compilation against MINGW32 is broken [message #45041 is a reply to message #44990] Sun, 23 August 2015 20:36 Go to previous message
mirek is currently offline  mirek
Messages: 12962
Registered: November 2005
Ultimate Member
Novo wrote on Sat, 08 August 2015 04:56
Could you please replace code below in function void ChSysInit()
#if (WINVER >= 0x0600)

with
#if (WINVER >= 0x0600 && !defined(__MINGW32_VERSION))


This should fix compilation against MINGW32. It doesn't define NONCLIENTMETRICS::iPaddedBorderWidth.
MINGW64 is fine.

I tested this issue against TDM-GCC-32 (gcc version 5.1.0 (tdm-1))

Thanks.


OK, patch applied.
Previous Topic: DLOG
Next Topic: Dont work Debug F5
Goto Forum:
  


Current Time: Thu Dec 03 14:13:42 CET 2020

Total time taken to generate the page: 0.01255 seconds