C++ functions passed to C should be declared extern "C" (second patch)
The SunPro compiler was complaining about C++ routines that were being passed to the ivl C routines if the C++ routines were not declared extern "C".
This commit is contained in:
parent
dd33d25e3c
commit
b6b43b5dec
|
|
@ -15,7 +15,7 @@ void error(const char *fmt, ...);
|
|||
void debug_msg(const char *fmt, ...);
|
||||
|
||||
int draw_scope(ivl_scope_t scope, void *_parent);
|
||||
int draw_process(ivl_process_t net, void *cd);
|
||||
extern "C" int draw_process(ivl_process_t net, void *cd);
|
||||
int draw_stmt(vhdl_procedural *proc, stmt_container *container,
|
||||
ivl_statement_t stmt, bool is_last = false);
|
||||
int draw_lpm(vhdl_arch *arch, ivl_lpm_t lpm);
|
||||
|
|
|
|||
Loading…
Reference in New Issue