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++ SQL » Compile error on Linux
Compile error on Linux [message #52366] Sun, 15 September 2019 02:52 Go to next message
zsolt is currently offline  zsolt
Messages: 698
Registered: December 2005
Location: Budapest, Hungary
Contributor
When compiling with NOAPPSQL, an ifdef is missing from Session.cpp.

Patch [against 2019.1]:
@@ -139,10 +139,12 @@ void SqlSession::PerThread(bool b)
 {
 	sPerThread = b;
 }
 #endif
 
+#ifndef NOAPPSQL
+
 void Sql::operator=(SqlSession& s)
 {
 	Mutex::Lock __(sDefs);
 	if(this == &AppCursor()) {
 	#ifdef _MULTITHREADED
@@ -210,6 +212,8 @@ Sql& AppCursorR()
 		empty = &h;
 	}
 	return *empty;
 }
 
+#endif
+
 }

This is bad in current master / trunk also.
Re: Compile error on Linux [message #52367 is a reply to message #52366] Sun, 15 September 2019 10:09 Go to previous message
mirek is currently offline  mirek
Messages: 14000
Registered: November 2005
Ultimate Member
Thanks, fixed.
Previous Topic: date not showing in sqlarray
Next Topic: gridctrl won't map to schema
Goto Forum:
  


Current Time: Thu Jul 25 16:10:00 CEST 2024

Total time taken to generate the page: 0.02016 seconds