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 » Newbie corner » Compile Error on Windows 10 (Tried project in tutorial, but get thousands of compile errors.)
Re: Compile Error on Windows 10 [message #50256 is a reply to message #50250] Wed, 05 September 2018 08:07 Go to previous messageGo to previous message
Krantz is currently offline  Krantz
Messages: 4
Registered: September 2018
Junior Member
Compile error again with the official "upp-with-mingw.7z", but somehow I think that I have found the problem.

The compiler on Windows does not really recognize the difference between <String.h> and <string.h>, so as "Core.h" intends to #include <string.h>, the compiler found <String.h> and #include that instead. I even tried to modify it and it becomes #include <cstring>, but in <cstring>, <string.h> is again included, and therefore <String.h> is selected, which causes the same error. But strangely enough, when I leave directory Core, and get back to uppsrc, then compiling Core.h succeeded, so it's the compiler that looks for system headers in brackets in current path '.', which really caused this problem.

Also, as far as I am concerned, 'wchar' is not a type in the standard, so I wonder where did the library define this, since <String.h> does not #include anything before its use of 'wchar' in the declaration of function 'wstrlen'.

[Updated on: Wed, 05 September 2018 08:16]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Adding a records through a SqlArray with duplicated columns
Next Topic: Statically linked Web Browser
Goto Forum:
  


Current Time: Thu May 09 00:02:56 CEST 2024

Total time taken to generate the page: 0.01595 seconds