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) » Compile with upp-win32-7207 - bugs
Re: Compile with upp-win32-7207 - bugs [message #42930 is a reply to message #42872] Mon, 14 April 2014 20:43 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
koldo wrote on Fri, 11 April 2014 23:04
Hello Mirek

I have the same problem, even after reinstalling TDM GCC, but only in 32 bits. Maybe the problem is this:
- In Core/config.h, line 17, there is a #define WINVER WindowsXP
- In wingdi.h, there is a:
#if(WINVER >= 0x0500)
#define SHADEBLENDCAPS 120
...

This means that SHADEBLENDCAPS and other are not included.


I have tested with my copy of mingw, seems OK, so I am unable to provide a reliable fix.

I would propose fixing this with something like

#ifndef SHADEBLENDCAPS
#define SHADEBLENDCAPS 120
#endif

.... and so forth, put into ImageWin32.cpp.

Could you try that please?

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Find and Replace (Edit->Find and Replace->Replace)
Next Topic: debugger
Goto Forum:
  


Current Time: Sun Jun 08 17:28:40 CEST 2025

Total time taken to generate the page: 0.05713 seconds