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,

publicaciones de 4 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

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

Deje un comentario

Por favor inicie sesión para agregar un comentario. ¿No es socio? Únase ya