From: SourceForge.net <no...@so...> - 2010-07-26 19:37:47
|
Bugs item #3034585, was opened at 2010-07-26 12:21 Message generated for change (Comment added) made by stsp You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=3034585&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: Stas Sergeev (stsp) Assigned to: Nobody/Anonymous (nobody) Summary: pointer to function is not castable to void* Initial Comment: Hi. The following code can be compiled with gcc, but not with sdcc: --- void tst() { } char main() { void *a = tst; return 0; } --- ptr.c:7: error 47: indirections to different types assignment from type 'void function ( ) fixed' to type 'void generic* fixed' ---------------------------------------------------------------------- >Comment By: Stas Sergeev (stsp) Date: 2010-07-26 23:37 Message: I'm sorry for submitting the bug into the patch tracker. Its so hot here, brain boils... :) ---------------------------------------------------------------------- Comment By: Borut Ražem (borutr) Date: 2010-07-26 23:28 Message: Since the patch is not supplied, I recatorize it to bug. Borut ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=3034585&group_id=599 |