Dear CUDA Developers,
I saw some warnings, during compilation of SDK examples with gcc 4.3.2
Here I attached small patch for SDK 2.10 which eliminates them.
There are two types of warnings. First is conversion of string to “char*”, instead of “const char*”.
Second is “const” qualifier for function return value of fundamental type (int, float, etc.)
Also I changed Makefile to be suitable for parallel build of all projects in SDK.
I hope this patch will be included to the next release of CUDA SDK.
It would be nice to see any useful feedback.
gcc_warnings_patch.zip (2.69 KB)