forlano Messages: 1207 Registered: March 2006 Location: Italy
Senior Contributor
Hello,
I extracted and saved mingw from 2008.1 version and moved to 2232. I got the following errors:
App.cpp
C:\upp\uppsrc\Core\App.cpp: In function 'Upp::String Upp::GetShellFolder(int)':
C:\upp\uppsrc\Core\App.cpp:458: error: 'SHGFP_TYPE_CURRENT' was not declared in this scope
C:\upp\uppsrc\Core\App.cpp: In function 'Upp::String Upp::GetDocumentsFolder()':
C:\upp\uppsrc\Core\App.cpp:469: error: 'CSIDL_MYDOCUMENTS' was not declared in this scope
Win32Util.cpp
C:\upp\uppsrc\Core\Win32Util.cpp: In function 'void* Upp::GetDllFn(const char*, const char*)':
C:\upp\uppsrc\Core\Win32Util.cpp:172: error: invalid conversion from 'int (*)()' to 'void*'
Core: 2 file(s) built in (0:04.35), 2179 msecs / file, duration = 4563 msecs
I know mingw is a bad compiler but on my laptop I was not able to install MS compiler.
Any idea to resolve the problem?
dolik.rce Messages: 1791 Registered: August 2008 Location: Czech Republic
Ultimate Contributor
Hi Luigi,
You can try to download TDM's builds of mingw from http://www.tdragon.net/recentgcc/. They are reported to work with U++ much better and they are tested with more recent versions of U++.