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 » Compiling error (Error with UPP 9950)
Compiling error [message #46640] Mon, 20 June 2016 21:45 Go to next message
BioBytes is currently offline  BioBytes
Messages: 307
Registered: October 2008
Location: France
Senior Member
Hi,

I tried to compile my project after updating my system to UPP9950. The MSC15 compiler complains the following error:

..\upp\bazaar\Controls4U\Controls4U.cpp (1940): error C2440: 'initializing': cannot convert from 'Upp::FileBrowser::EditStringLostFocus' to 'Upp::String'


The problem seems to be the code in Control4U.cpp file.

void FileBrowser::FileNameWhenChanged() {
	String kk = fileNameSelected;		// Nombre viejo path completo
	String koko = textFileName;			// Nombre nuevo (solo nombre)
	int de = 34;
}

Hope it could help to solve the error

Regards
Biobytes
Re: Compiling error [message #46642 is a reply to message #46640] Mon, 20 June 2016 22:24 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1075
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

It is interesting - why you have method that assign member variables and do nothing special with that. For me it seems like dead code - but maybe I ma wrong. Can you explain it for me - Koldo Smile

If the code is not used - I highly recommended to delete it.

Sincerely,
Klugier


U++ - one framework to rule them all.
Re: Compiling error [message #46645 is a reply to message #46642] Tue, 21 June 2016 08:26 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3354
Registered: August 2008
Senior Veteran
Yes absolutely Rolling Eyes I will delete it.

In addition I will have to upload some changes in all EditString:

EditString editString;

- Until now:
String str = editString;

- From now:
String str = ~editString;

Sorry for the inconveniences. I will upload them today.


Best regards
Iñaki
Re: Compiling error [message #46664 is a reply to message #46645] Mon, 27 June 2016 09:46 Go to previous message
BioBytes is currently offline  BioBytes
Messages: 307
Registered: October 2008
Location: France
Senior Member
Hi Koldo,

Just updated my system to UPP 9977 and everything compiles perfectly Very Happy

Thank you very much for your help

Cheers Razz

Biobytes
Previous Topic: Build Upp project: OK. Build No Upp project with Gstreamer: OK, Build Upp and Gstreamer project: BAD
Next Topic: Debugger freezes
Goto Forum:
  


Current Time: Thu Mar 28 11:26:32 CET 2024

Total time taken to generate the page: 0.02073 seconds