From: Johan K. <joh...@id...> - 2002-03-01 10:47:16
|
fixed in SDCCglue.c ----- Original Message ----- From: <no...@so...> To: <no...@so...> Sent: Friday, March 01, 2002 7:13 AM Subject: [sdcc-devel] [ sdcc-Bugs-524211 ] Warning generated at the wrong line num > Bugs item #524211, was opened at 2002-02-28 22:13 > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=100599&aid=524211&group_id= 599 > > Category: C-Front End > Group: None > Status: Open > Resolution: None > Priority: 5 > Submitted By: Michael Hope (michaelh) > Assigned to: Nobody/Anonymous (nobody) > Summary: Warning generated at the wrong line num > > Initial Comment: > See the regression tests. This code: > > typedef struct _String > { > const UINT8 sz[1]; > } String; > > struct _Class > { > String *szName; > }; > > const Class Bar = { > "java.lang.Object", > }; > > void foo(void) > { > } > > generates the correct warning Initializer different levels of indirections > > but at the wrong line number. The reported line is 26, which is in the middle of foo(). > > > > ---------------------------------------------------------------------- > > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=100599&aid=524211&group_id= 599 > > _______________________________________________ > sdcc-devel mailing list > sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-devel > > |