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 » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » MT
Re: MT [message #20476 is a reply to message #20412] Fri, 20 March 2009 13:21 Go to previous messageGo to previous message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

After update windows version with MINGW I cannot compile any project with MT flag. (testcase - reference\SQL_MySql).

It write:

----- MySql ( MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (1 / 5)
MySql.cpp
In file included from C:\upp\uppsrc/Core/Core.h:401,
                 from C:\upp\uppsrc/Sql/Sql.h:4,
                 from C:\upp\uppsrc\MySql\/MySql.h:6,
                 from C:\upp\uppsrc\MySql\MySql.cpp:1:
C:\upp\uppsrc/Core/Mt.h:237: error: ISO C++ forbids declaration of 'sCVWaiter_' with no type
C:\upp\uppsrc/Core/Mt.h:237: error: expected ';' before '*' token
MySql: 1 file(s) built in (0:03.15), 3157 msecs / file, duration = 4302 msecs

There were errors. (0:04.37)

when I click on error string, I see :
class ConditionVariable {
	Mutex                 mutex;
	friend struct sCVWaiter_;
	
	sCVWaiter_ *head, *tail;
	^^^^^^^^^^^^^^^^^^^^^^^^ this line call error.
public:
	void Wait(Mutex& m);
	void Signal();
	void Broadcast();
	
	ConditionVariable();
	~ConditionVariable();
};



Can you help me to resolve this error.


SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}

[Updated on: Fri, 20 March 2009 13:26]

Report message to a moderator

 
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: Painter 2.0
Next Topic: readonly nests
Goto Forum:
  


Current Time: Tue May 14 02:54:51 CEST 2024

Total time taken to generate the page: 0.02659 seconds