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 with UPP 13422
Compiling error with UPP 13422 [message #51927] Fri, 21 June 2019 09:31 Go to next message
pvictor is currently offline  pvictor
Messages: 15
Registered: December 2015
Location: Russia
Promising Member
Hi,

The MSC15 compiler reports the following error:
C:\upp\uppsrc\Core\LangInfo.cpp (495): error C2088: !: not allowed for struct


The code:
const LanguageInfo& GetLanguageInfo()
{
	if(!sCurrentLangInfo)		// the line with error
		SyncLngInfo__();
	return *sCurrentLangInfo;
}


Best regards,
Victor
Re: Compiling error with UPP 13422 [message #51928 is a reply to message #51927] Fri, 21 June 2019 15:06 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 625
Registered: September 2012
Location: Poland, Kraków
Contributor
Hello,

From which version of the visual studio MSC15 came from? Yesterday, I compiled Core with compiler from Visual Studio 2019 and it works fine.

Sincerely,
Klugier


Ultimate++ - one framework to rule them all.
Re: Compiling error with UPP 13422 [message #51929 is a reply to message #51928] Fri, 21 June 2019 15:59 Go to previous message
mirek is currently offline  mirek
Messages: 11991
Registered: November 2005
Ultimate Member
Klugier wrote on Fri, 21 June 2019 15:06
Hello,

From which version of the visual studio MSC15 came from? Yesterday, I compiled Core with compiler from Visual Studio 2019 and it works fine.

Sincerely,
Klugier


That is VS2015. It is compiler bug, but workaround is simple. Please test trunk, Victorb.
Previous Topic: Using Valgrind output
Next Topic: Undefined Reference to GTK
Goto Forum:
  


Current Time: Mon Aug 19 14:04:00 CEST 2019

Total time taken to generate the page: 0.01268 seconds