From: SourceForge.net <no...@so...> - 2012-02-06 23:43:52
|
Bugs item #3438706, was opened at 2011-11-16 02:05 Message generated for change (Comment added) 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: 6 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. ---------------------------------------------------------------------- >Comment By: Philipp Klaus Krause (spth) Date: 2012-02-06 15:43 Message: Increasing priority a bit, since I believe this will really bite people when using named address spaces. Philipp ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=3438706&group_id=599 |