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 » Community » U++ community news and announcements » U++/Win32 is now using CLANG toolchain
Re: U++/Win32 is now using CLANG toolchain [message #54549 is a reply to message #53299] Thu, 13 August 2020 12:13 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1094
Registered: August 2007
Senior Contributor
Hello Mirek,

One problem I've noticed about CLANG on windows: Windows 10 api doesn't seem to be supported by Upp. They cant't be compiled because some of them are conditionally included (ver >= 0x0A00, ver >= 0x0700, etc.)

(I've noticed this while implementing the windows 10 pseudoconsole API support for terminal ctrl.)

The headers, and prototypes are already included in CLANG bundle but It requires manual intervention in Core/config.h to change _WIN32_WINNT from 0x0501 to 0x0A00. (redefining it elsewhere doesn't seem to work either; or at least I couldn't find a simple way)

If I set the version number to 0x0A00 everthing compiles fine on CLANG.
(Also, there is no such problem with MSVC 19. It does not require any intervention.)

Is there a workaround for this problem? (may be a flag in TheIDE's main configuration, etc. ?)

Best regards,
Oblivion



[Updated on: Thu, 13 August 2020 12:26]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: theide: Navigator is now able to search for files too
Next Topic: ide: Compare with log and new 'unit' testing method
Goto Forum:
  


Current Time: Mon Jun 17 08:39:18 CEST 2024

Total time taken to generate the page: 0.02102 seconds