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 #20477 is a reply to message #20476] Fri, 20 March 2009 14:37 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
sergeynikitin wrote on Fri, 20 March 2009 08:21

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.


MT and Mingw are incompatible.

Mirek
 
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 17:55:38 CEST 2024

Total time taken to generate the page: 0.02130 seconds