error : a function declared "dllimport" may not be defined

error : a function declared "dllimport" may not be defined

Hi ,for creating a cilk context , i followed the cilk++ exemples but i got this errora function declared "dllimport" may not be definedWhat should i do in this case !!Thanks,

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Let's start with what operating system you're running on, and which compiler.

And can you build the samples themselves?

- Barry

OS = windows7 and compiler =gccyes I can build the examples but when I repeat the same work on my project , I can't build it ( I mean here the example QSortDLL )

Which version of the gcc compiler are you using? The Cilk++ version is *very* old. The newer one (the "cilkplus" branch ingcc 4.7 and 4.8)implementsIntel Cilk Plus, not Cilk++.

- Barry

Leave a Comment

Please sign in to add a comment. Not a member? Join today