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++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » [BUG?] MIValue (Why "String &MIValue::Get(void)" is called ? it should not.)
Re: [BUG?] MIValue [message #44539 is a reply to message #44534] Wed, 25 March 2015 10:52 Go to previous messageGo to previous message
omari is currently offline  omari
Messages: 276
Registered: March 2010
Experienced Member
Hi,

Here is a simple test case, which highlighted the problem (attachment)


MIValue GetTuple()
{
	MIValue r;
	r.Add("a", "b");
	return r;
}

CONSOLE_APP_MAIN
{
	
	MIValue v =  GetTuple();
	
	DUMP(v.Get("a"));
}



the output is:
String &MIValue::Get(void)
error:Not a String value type
String &MIValue::Get(void)
String &MIValue::Get(void)
error:Not a Tuple value type
v.Get("a") = error:Not a Tuple value type



regards
omari.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: patch Gdb_MI parser
Next Topic: GDB/MINGW interface Bug fix
Goto Forum:
  


Current Time: Fri Jun 20 08:40:09 CEST 2025

Total time taken to generate the page: 0.03270 seconds