# HG changeset patch # User Edouard Tisserant # Date 1395836150 -3600 # Node ID bdea62c1f32fb88f80ef9ac02e8f21e696acd9e2 # Parent 96741ddb78c053cd500567dc8683818b5646440e Added -Wno-unused-function, to matiec generated C files CFLAGS, removed additional 'add resource' in project tree right click menu diff -r 96741ddb78c0 -r bdea62c1f32f LPCManager.py --- a/LPCManager.py Thu Feb 27 23:50:45 2014 +0100 +++ b/LPCManager.py Wed Mar 26 13:15:50 2014 +0100 @@ -417,7 +417,7 @@ module.write(BUS_TEXT % code_str) module.close() - matiec_flags = '"-I%s"'%os.path.abspath(self.GetCTRoot().GetIECLibPath()) + matiec_flags = '"-I%s" -Wno-unused-function'%os.path.abspath(self.GetCTRoot().GetIECLibPath()) return [(Gen_Module_path, matiec_flags)],"",True #------------------------------------------------------------------------------- @@ -1235,10 +1235,6 @@ def _init_coll_AddMenu_Items(self, parent): IDEFrame._init_coll_AddMenu_Items(self, parent, False) - new_id = wx.NewId() - AppendMenu(parent, help='', id=new_id, - kind=wx.ITEM_NORMAL, text=_(u'&Resource')) - self.Bind(wx.EVT_MENU, self.AddResourceMenu, id=new_id) def _init_ctrls(self, prnt): Beremiz._init_ctrls(self, prnt)