debug mode error

Hi,

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:

/linux_rhel50/64/tools/stow/gcc-4.1.2/bin/…lib/gcc/
x86_64-unknown-linux-gnu/4.1.2/…/…/…/…/include/c++/4.1.2/complex:
1005: error" ‘_Complex_float’ does not name a type.

Can anyone help?

Thanks,
mahy

Mahy -

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

Thanks in advance.

kcuhj

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.