CUDA & VS2010 problem

Posted by Kristian D'Amato on Stack Overflow See other posts from Stack Overflow or by Kristian D'Amato
Published on 2011-03-05T15:22:14Z Indexed on 2011/03/05 15:24 UTC
Read the original article Hit count: 220

Filed under:
|
|

I have scoured the internets looking for an answer to this one, but couldn't find any. I've installed the CUDA 3.2 SDK (and, just now, CUDA 4.0 RC) and everything seems to work fine after long hours of fooling around with include directories, NSight, and all the rest. Well, except this one thing: it keeps highlighting the <<< >>> operator as a mistake. Only on VS2010--not on VS2008.

On VS2010 I also get several warnings of the following sort:

C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xdebug(109): warning C4251: 'std::_String_val<_Ty,_Alloc>::_Alval' : class 'std::_DebugHeapAllocator<_Ty>' needs to have dll-interface to be used by clients of class 'std::_String_val<_Ty,_Alloc>'

Anyone know how this can be fixed?

© Stack Overflow or respective owner

Related posts about c++

Related posts about visual-studio-2010