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: 67
Registered: December 2015
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: 1075
Registered: September 2012
Location: Poland, Kraków
Senior 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


U++ - 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: 13975
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: Fri Mar 29 01:23:36 CET 2024

Total time taken to generate the page: 0.00928 seconds