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++ Library : Other (not classified elsewhere) » msc builder patch , msc builder ignore compiler field
msc builder patch , msc builder ignore compiler field [message #49827] Sun, 13 May 2018 15:11 Go to next message
aftershock is currently offline  aftershock
Messages: 143
Registered: May 2008
Experienced Member
Hi,

Msc builder ignores compiler field...mingw does not.
The fix of this in mscbuilder.cpp:
String MscBuilder::CmdLine(const String& package, const Package& pkg)
{
	String cc;
	if(HasFlag("ARM"))
		cc = "clarm";
	else
	if(HasFlag("MIPS"))
		cc = "clmips";
	else
	if(HasFlag("SH3"))
		cc = "shcl /Qsh3";
	else
	if(HasFlag("SH4"))
		cc = "shcl /Qsh4";
	else
	if(HasFlag("MSC8ARM"))
		cc = "cl -GS- ";
	else
		cc = HasFlag("INTEL") ? "icl" : "cl";
	if (!IsNull(compiler))  // THIS IS THE FIX INSERT THESE TWO LINES
		cc = compiler;  // THIS IS THE FIX


	return cc;
}


_____________________
Moderator: Please use code tags instead of adding code as a text.

[Updated on: Sun, 13 May 2018 15:51] by Moderator

Report message to a moderator

Re: msc builder patch , msc builder ignore compiler field [message #49853 is a reply to message #49827] Fri, 18 May 2018 14:51 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thank you, applied.

(Alhough I am not quite sure what other compiler you need to put there... Smile
Re: msc builder patch , msc builder ignore compiler field [message #49880 is a reply to message #49853] Fri, 25 May 2018 09:14 Go to previous message
aftershock is currently offline  aftershock
Messages: 143
Registered: May 2008
Experienced Member
clang cl compatible one
or a command line filter that can fix command line arguments passed to clang cl.
Previous Topic: How can I turn off soring in ArrayCtrl?
Next Topic: patch:improvement to docking, to be able to move tabs in a menu
Goto Forum:
  


Current Time: Fri Apr 19 22:52:29 CEST 2024

Total time taken to generate the page: 0.03635 seconds