RTTI, typeid and CUDA Is RTTI for host code supported by CUDA?

I am failing compiling the following simple .cu file with nvcc 2.0 (Visual Studio 8):



int main() { std::cout << typeid(int).name() << std::endl; }

The flags --host-compilation=c++ and --compile-options=GR has been used, but I get error messages like

testRTTI_CUDA.cu(4): error: <typeinfo> must be included before typeid is used

testRTTI_CUDA.cu(4): error: incomplete type is not allowed

Should this work, or is this an unsupported part of C++?