Menu

#2 Type violation in declaration and use of func_tbl

open
nobody
None
5
2013-03-28
2012-09-22
No

Hi,

While building your package using our research compiler infrastructure we noticed the following inconsistency:

src/BipsFD/fd_bool_c.c declares static Bool (*func_tbl[NB_OF_OP + 2]) (); but then assigns Set_Not etc. as its values, which are of type

static Bool Set_Not(WamWord *exp, int result, WamWord *load_word);

As such, func_tbl should be declared as holding functions with those three arguments.

Best,
Michael

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.