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: 1182
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?

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: 1789
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++.

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: 3355
Registered: August 2008
Senior Veteran
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: 1182
Registered: March 2006
Location: Italy
Senior 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 Mar 29 02:32:08 CET 2024

Total time taken to generate the page: 0.00960 seconds