|
From: Maurizio la C. <m.l...@gm...> - 2014-07-02 21:08:26
|
And below the Windows warnings counterpart: C:/SVN/hwgui/source/common/editor/hcedit_w.c: In function 'ted_LineOut': C:/SVN/hwgui/source/common/editor/hcedit_w.c:295:9: warning: unused variable 'rect' [-Wunused-variable] RECT rect; ^ C:/SVN/hwgui/source/common/editor/hcedit_w.c: In function 'HB_FUN_HCED_COLOR2X': C:/SVN/hwgui/source/common/editor/hcedit_w.c:767:4: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] sprintf(s,"#%2X%2X%2X", n%256, (n/256)%256, (n/65536)%256 ); ^ C:/SVN/hwgui/source/common/editor/hcedit_w.c:767:4: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] C:/SVN/hwgui/source/common/editor/hcedit_w.c:767:4: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'long int' [-Wformat=] C:/SVN/hwgui/source/common/xml/xmlparse.c: In function 'HB_FUN_HBXML_PRELOAD': C:/SVN/hwgui/source/common/xml/xmlparse.c:239:69: warning: signed and unsigned type in conditional expression [-Wsign-compare] unsigned long ulLen = (unsigned long)((HB_ISNUM(2))? hb_parnl(2) : hb_parclen(1)); ^ BR Maurizio Il 02/07/2014 17:40, Alain Aupeix ha scritto: > ../common/editor/hcedit_l.c: In function 'ted_CalcLineWidth': > ../common/editor/hcedit_l.c:309:13: attention : variable 'font' set > but not used [-Wunused-but-set-variable] > ../common/editor/hcedit_l.c: In function 'ted_LineOut': > ../common/editor/hcedit_l.c:400:13: attention : unused variable 'font' > [-Wunused-variable] > ../common/editor/hcedit_l.c:398:37: attention : unused variable > 'iRealWidth' [-Wunused-variable] > ../common/editor/hcedit_l.c: In function 'HB_FUN_HCED_COLOR2X': > ../common/editor/hcedit_l.c:960:4: attention : format '%X' expects > argument of type 'unsigned int', but argument 3 has type 'long int' > [-Wformat] > ../common/editor/hcedit_l.c:960:4: attention : format '%X' expects > argument of type 'unsigned int', but argument 4 has type 'long int' > [-Wformat] > ../common/editor/hcedit_l.c:960:4: attention : format '%X' expects > argument of type 'unsigned int', but argument 5 has type 'long int' > [-Wformat] > > Perhaps not important ... > > A+ > -- > ------------------------------------------------------------------------ > Alain Aupeix > http://jujuland.pagesperso-orange.fr/ > http://pissobi-lacassagne.pagesperso-orange.fr/ > ------------------------------------------------------------------------ > U.buntu 12.04 | G.ramps 3.4.8-1 | H.arbour 3.2.0dev (2014-06-27 15:20) > | HbIDE (Rev.274) | FiveLinux (r138) | Hw.Gui (2273) > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > > > _______________________________________________ > Hwgui-developers mailing list > Hwg...@li... > https://lists.sourceforge.net/lists/listinfo/hwgui-developers |