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++ Library support » U++ Library : Other (not classified elsewhere) » upp 1590 compile error
upp 1590 compile error [message #23200] Fri, 25 September 2009 11:24 Go to next message
gxl117 is currently offline  gxl117
Messages: 71
Registered: March 2009
Location: China
Member
For upp1590 has a compile error:
F:\upp-svn\uppsrc\CtrlCore\Win32Wnd.cpp(713) : error C2666: 'Upp::Vector<T>::operator`[]'' : 4 overloads have
	 similar conversions
        with
        [
            T=Upp::Callback
        ]


I use VC++7.1 compiler.To fix it,change Win32Wnd.cpp 713 line:
	Ctrl::hotkey[msg.wParam]();

to:
Ctrl::hotkey[(int)msg.wParam]();

Re: upp 1590 compile error [message #23201 is a reply to message #23200] Fri, 25 September 2009 11:26 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thanks, applied.
Previous Topic: write to /dev/something file
Next Topic: Dockmenu Draw
Goto Forum:
  


Current Time: Thu Mar 28 10:48:28 CET 2024

Total time taken to generate the page: 0.01037 seconds