From: SourceForge.net <no...@so...> - 2011-11-16 10:05:22
|
Bugs item #3438706, was opened at 2011-11-16 02:05 Message generated for change (Tracker Item Submitted) made by spth You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=3438706&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Philipp Klaus Krause (spth) Assigned to: Nobody/Anonymous (nobody) Summary: WArning and errors for casts in parameter passing broken Initial Comment: sdcc does not issue warnings and errors for casts, when the casts are in parameter passing. E.g.: void f(void *); void *h; void g(void) { h = 7; /* OK: Warning issued here. */ f(7); /* Not OK: No warning. */ } Philipp P.S.: I tested using 3.1.0 #7047. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=3438706&group_id=599 |