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 » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » U++ 2232 compiler error
U++ 2232 compiler error [message #26330] Sun, 25 April 2010 17:04 Go to next message
forlano is currently offline  forlano
Messages: 1071
Registered: March 2006
Location: Italy
Experienced 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?

Thank you,
Luigi

Re: U++ 2232 compiler error [message #26331 is a reply to message #26330] Sun, 25 April 2010 18:26 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1758
Registered: August 2008
Location: Czech Republic
Senior 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++.

Regards,
Honza
Re: U++ 2232 compiler error [message #26332 is a reply to message #26331] Sun, 25 April 2010 19:32 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3033
Registered: August 2008
Ultimate Member
Hello Luigi and Honza

Really that problem was solved on svn 2233 (with the new svn page http://www.ultimatepp.org/svn$uppweb$svn$en-us.html it is easier than ever to check it Smile )


Best regards
IƱaki
Re: U++ 2232 compiler error [message #26333 is a reply to message #26332] Sun, 25 April 2010 20:39 Go to previous message
forlano is currently offline  forlano
Messages: 1071
Registered: March 2006
Location: Italy
Experienced Contributor
koldo wrote on Sun, 25 April 2010 19:32

Hello Luigi and Honza

Really that problem was solved on svn 2233 (with the new svn page http://www.ultimatepp.org/svn$uppweb$svn$en-us.html it is easier than ever to check it Smile )


Hi Honza and Koldo,

thank you for your suggestions. Now every thing works fine.

Luigi
Previous Topic: Problems Compiling for WinCE (PPC2003) ARM
Next Topic: Debug watch not showing arrays?
Goto Forum:
  


Current Time: Fri Nov 22 16:36:04 CET 2019

Total time taken to generate the page: 0.01310 seconds