I am confused about stub functions for calling a cilk function by a regular c function. It seems there is an inconsistency on page 13 of the Cilk-5.4.6 manual. That and the previous page discuss this issue. I made up a fibonaccii program that I am trying to get to compile, but it does not.
I have attached the screenshot of the output and a copy of my source file. Please tell me what I am doing wrong.
If there are any other errors please point them out.I thought that this code was correct The example in the cilk-5.4.6 manual on page 13 is not clear. y = EXPORT(g) (context, 3.14); and y = EXPORT(g) (&x); have different number of args.
In miine it says
argument mismatch: 1 args passed, 2 expected
I am not seeing it.
Any help appreciated. Thanks in advance.