dllexport/dllimport conflict with "clock" conflict clock Matlab VS2005


I always get the warning:

c:\cuda\include\common_functions.h(56): warning: dllexport/dllimport conflict with “clock”
C:\Programme\Microsoft Visual Studio 8\VC\INCLUDE\time.h(176): here; dllimport/dllexport dropped

How can I avoid that conflict?


Last Driver -> 8600 GT
CUDA 2.0 Tools + SDK
Matlab 2007b

I got the same problem : I’m creating a DLL, and as soon as I want to use a timer I have this warning and my dll doesn’t work anymore after that.

The profiler doesn’t work as well, but I don’t know if it’s the same problem(do I need to put timers in my code to use the profiler ?)

here you go http://forums.nvidia.com/index.php?showtop…rt=#entry307870