debug mode error


I can build my project correctly. But when I want to use the debugger and add -deviceemu to the nvcc call I get the following error:

1005: error" ‘_Complex_float’ does not name a type.

Can anyone help?


Mahy -

I’m getting this error too. I didn’t see what the solution was.

Thanks in advance.


I have, the same problem too. I add --ffloat-store option for gcc (p.42 of CUDA Programming Guide) in Makefile, but it’s doesn’t help. Later i try to build gcc-4.2 version, and report result here (now i use gcc 4.1.2 Gentoo).
UPD: With GCC-4.2.4 it’s also doesn’t work.