From: SourceForge.net <no...@so...> - 2004-02-15 01:35:35
|
Bugs item #896796, was opened at 2004-02-13 16:21 Message generated for change (Comment added) made by epetrich You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=896796&group_id=599 Category: C-Front End >Group: fixed >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Bernhard Held (bernhardheld) >Assigned to: Erik Petrich (epetrich) Summary: Array of function pointers doesn't allow void in param. list Initial Comment: void (* farray1[10]) (void); /* BUG: W_NONRENT_ARGS */ void (* farray2[10]) (void) reentrant; /* BUG: too few params */ void (* farray3[10]) (); /* o.k. */ void foo (void) { farray1[2](); farray2[2](); farray3[2](); } fptr.c:8: warning: Functions called via pointers must be 'reentrant' to take arguments fptr.c:9: error: too few parameters ---------------------------------------------------------------------- >Comment By: Erik Petrich (epetrich) Date: 2004-02-14 19:31 Message: Logged In: YES user_id=635249 Fixed in src/SDCCsymt.c 1.178 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=896796&group_id=599 |