I have C++ class code that I’ve structured as .h and .cu files. I have no problem building the classes for the device, but when I build for emulation I get a bunch of errors like the following:
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocinfo(78): error: support for exception handling is disabled
Now, I read that this was a problem with earlier versions of the NVCC compiler not supporting certain aspects of C++ that have since been fixed (I’m using the beta 2.2 toolkit). Is there a way to get this fix available in the emulation build also or is it better to just restructure the C++ code in .h .cpp and .cu code files?