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) » Using VisualStudio as a main IDE (Compilation errors)
Re: Using VisualStudio as a main IDE [message #51333 is a reply to message #51281] Sun, 10 March 2019 20:51 Go to previous messageGo to previous message
Lucas is currently offline  Lucas
Messages: 6
Registered: February 2019
Location: UK
Promising Member
So ok. I started again from the beginning.
I created empty CtrLib application with main window in TheIDE compiled it and it worked perfectly well.
I saved all files and then in VS I created new solution and used this files. In project properties I added Include directory to point it to UPP header files.
Now the error I get is:

Severity Code Description Project File Line Suppression State
Error C2100 illegal indirection HW c:\users\canis\dropbox\cpp\upp\uppsrc\core\topt.h 157
Error C2672 'Upp::AssertMoveablePtr': no matching overloaded function found HW c:\users\canis\dropbox\cpp\upp\uppsrc\core\topt.h 157
Error C2782 'void Upp::AssertMoveablePtr(T,T)': template parameter 'T' is ambiguous HW c:\users\canis\dropbox\cpp\upp\uppsrc\core\topt.h 157
Error C2784 'void Upp::AssertMoveablePtr(T,T)': could not deduce template argument for 'T' from 'T' HW c:\users\canis\dropbox\cpp\upp\uppsrc\core\topt.h 157
Error C2784 'void Upp::AssertMoveablePtr(T,T)': could not deduce template argument for 'T' from 'T' HW c:\users\canis\dropbox\cpp\upp\uppsrc\core\topt.h 157
Error C2784 'void Upp::AssertMoveablePtr(T,T)': could not deduce template argument for 'T' from 'T' HW c:\users\canis\dropbox\cpp\upp\uppsrc\core\topt.h 157
Error C2784 'void Upp::AssertMoveablePtr(T,T)': could not deduce template argument for 'T' from 'T' HW c:\users\canis\dropbox\cpp\upp\uppsrc\core\topt.h 157

And there is comment in source file:
// COMPILATION ERROR HERE MEANS TYPE T WAS NOT MARKED AS Moveable

How can I mark it as movable?

Than for all your help.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how can I draw on the top of a dockwindow?
Next Topic: RegExp::ReplaceGlobal() is buggy
Goto Forum:
  


Current Time: Wed Apr 23 07:47:08 CEST 2025

Total time taken to generate the page: 0.02672 seconds