Problem linking in c code
BlitzMax Forums/BlitzMax Programming/Problem linking in c code
| ||
| Hi. I did some C code, and used an extern block + import to get it into max. It works, but I get the following error: Warning: resolving _TestFunction@0 by linking to _TestFunction Use --enable-stdcall-fixup to disable these warnings Use --disable-stdcall-fixup to disable these fixups C function
// Test function
int TestFunction(void)
{
return 10;
}
BlitzMax import code ' Include externs Extern Function TestFunction:Int() End Extern What gives? |
| ||
| Hmm. Problem disappeard by itself? Wierd stuff... |