Developer forums (C::B DEVELOPMENT STRICTLY!) > Compiler Framework Redesign
XML based compilers
MortenMacFly:
--- Quote from: killerbot on September 25, 2012, 11:20:21 pm ---nice belgian beers ;-)
--- End quote ---
From a German point of view: Isn't this a paradoxon? ;D ;D ;D
Alpha:
--- Quote from: killerbot on September 25, 2012, 11:20:21 pm ---hmmmm, darn, this weekend for sure, or I owe you some nice belgian beers ;-)
--- End quote ---
Not a problem; I am sure you have been very busy. (Although, if you do not get around to it, that might have to be a rain check; I am currently underage ;).)
killerbot:
I can confirm the "exe" problem is gone, it now remembered it is gcc-4.7.
One strange things : it claimed the SDCC was user defined. Never touched that one ...
Seems to be ok. I will prepare nightlies.
Alpha:
--- Quote from: killerbot on October 01, 2012, 07:57:35 pm ---One strange things : it claimed the SDCC was user defined. Never touched that one ...
--- End quote ---
That is an artifact of a fix to its auto-detection routine; as it only will report this oddity once (on the switch from trunk to XML compiler), I did not think it was worthwhile to write a special rule for it.
--- Quote from: killerbot on October 01, 2012, 07:57:35 pm ---Seems to be ok. I will prepare nightlies.
--- End quote ---
Okay. I will be waiting for the bug reports that only appear after everything is thought to be fixed :).
Alpha:
I noticed Ubuntu seems to make multiline textboxes default to zero height. This patch should ensure there is at least reasonable edit room (on any platform).
--- Code: ---Index: src/plugins/compilergcc/compileroptionsdlg.cpp
===================================================================
--- src/plugins/compilergcc/compileroptionsdlg.cpp (revision 8435)
+++ src/plugins/compilergcc/compileroptionsdlg.cpp (working copy)
@@ -2777,6 +2777,11 @@
Compiler* compiler = CompilerFactory::GetCompiler(m_CurrentCompilerIdx);
wxTextEntryDialog dlg(this, wxT("List flags that will only be used during C compilation"),
wxT("C - only flags"), compiler->GetCOnlyFlags(), wxTextEntryDialogStyle|wxTE_MULTILINE|wxRESIZE_BORDER);
+ if (dlg.GetSize().GetHeight() < 220)
+ {
+ dlg.SetSize(dlg.GetPosition().x, dlg.GetPosition().y - (220 - dlg.GetSize().GetHeight()) / 2,
+ dlg.GetSize().GetWidth(), 220);
+ }
dlg.ShowModal();
wxString flags = dlg.GetValue();
flags.Replace(wxT("\n"), wxT(" "));
@@ -2795,6 +2800,11 @@
Compiler* compiler = CompilerFactory::GetCompiler(m_CurrentCompilerIdx);
wxTextEntryDialog dlg(this, wxT("List flags that will only be used during C++ compilation"),
wxT("C++ - only flags"), compiler->GetCPPOnlyFlags(), wxTextEntryDialogStyle|wxTE_MULTILINE|wxRESIZE_BORDER);
+ if (dlg.GetSize().GetHeight() < 220)
+ {
+ dlg.SetSize(dlg.GetPosition().x, dlg.GetPosition().y - (220 - dlg.GetSize().GetHeight()) / 2,
+ dlg.GetSize().GetWidth(), 220);
+ }
dlg.ShowModal();
wxString flags = dlg.GetValue();
flags.Replace(wxT("\n"), wxT(" "));
Index: src/plugins/compilergcc/resources/compilers/options_common_warnings.xml
===================================================================
--- src/plugins/compilergcc/resources/compilers/options_common_warnings.xml (revision 8435)
+++ src/plugins/compilergcc/resources/compilers/options_common_warnings.xml (working copy)
@@ -26,7 +26,7 @@
<Option name="Have g++ follow the C++11 ISO C++ language standard"
option="-std=c++11"
supersedes="-std=c++98 -std=c++0x"/>
- <Option name="zero as null pointer constant"
+ <Option name="Warn if '0' is used as a null pointer constant"
option="-Wzero-as-null-pointer-constant"/>
</if>
<Option name="Enable warnings demanded by strict ISO C and ISO C++"
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version