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 » Community » U++ community news and announcements » Upp 612-dev2 released
Re: Upp 612-dev2 released [message #7319 is a reply to message #7304] Fri, 22 December 2006 00:39 Go to previous messageGo to previous message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
If I decide not to use "using namespace Upp" but rather explicitly use namespace Upp I'm getting compilation error when trying to compile a simple code below.

class ufm : public Upp::TopWindow {
public:
typedef ufm CLASSNAME;

};

GUI_APP_MAIN
{
ufm().Run();
}


The errors are:

E:\home\ssg\c++\vc71\upp_app\ufm\main.cpp(63) : error C2653: 'Ctrl' : is not a class or namespace name
E:\home\ssg\c++\vc71\upp_app\ufm\main.cpp(63) : error C3861: 'InitWin32': identifier not found, even with argument-dependent lookup
E:\home\ssg\c++\vc71\upp_app\ufm\main.cpp(63) : error C3861: 'coreCmdLine__': identifier not found, even with argument-dependent lookup
E:\home\ssg\c++\vc71\upp_app\ufm\main.cpp(63) : error C3861: 'SplitCmdLine__': identifier not found, even with argument-dependent lookup
E:\home\ssg\c++\vc71\upp_app\ufm\main.cpp(63) : error C3861: 'AppInitEnvironment__': identifier not found, even with argument-dependent lookup
E:\home\ssg\c++\vc71\upp_app\ufm\main.cpp(63) : error C2653: 'Ctrl' : is not a class or namespace name
E:\home\ssg\c++\vc71\upp_app\ufm\main.cpp(63) : error C3861: 'CloseTopCtrls': identifier not found, even with argument-dependent lookup
E:\home\ssg\c++\vc71\upp_app\ufm\main.cpp(63) : error C3861: 'UsrLog': identifier not found, even with argument-dependent lookup
E:\home\ssg\c++\vc71\upp_app\ufm\main.cpp(63) : error C3861: 'DeleteUsrLog': identifier not found, even with argument-dependent lookup
E:\home\ssg\c++\vc71\upp_app\ufm\main.cpp(63) : error C2653: 'Ctrl' : is not a class or namespace name
E:\home\ssg\c++\vc71\upp_app\ufm\main.cpp(63) : error C3861: 'ExitWin32': identifier not found, even with argument-dependent lookup
E:\home\ssg\c++\vc71\upp_app\ufm\main.cpp(63) : error C3861: 'AppExit__': identifier not found, even with argument-dependent lookup
E:\home\ssg\c++\vc71\upp_app\ufm\main.cpp(63) : error C3861: 'GetExitCode': identifier not found, even with argument-dependent lookup

It would be good to support explicit usage of Upp. Defines do not belong to a namespace I believe, so all these functions and variables cannot be found.


Regards,
Novo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Upp 612-dev2 delayed...
Next Topic: U++ in 2006 and Happy new year 2007
Goto Forum:
  


Current Time: Thu May 16 05:38:13 CEST 2024

Total time taken to generate the page: 0.01718 seconds