I am using SDK 1.1 on Fedora 8 with Toolkit 1.1 and nvidia driver 169.07 (packaged by livna).
I would like to suppress the warning “APIENTRY” redefined that appear in the following 2 SDK samples only:
...
make[1]: Leaving directory `~/NVIDIA_CUDA_SDK/common'
make -C projects/nbody/
make[1]: Entering directory `~/NVIDIA_CUDA_SDK/projects/nbody'
In file included from bodysystemcuda.cu:35:
../../common/inc/GL/glut.h:64:1: warning: "APIENTRY" redefined
In file included from ../../common/inc/GL/glut.h:59,
from bodysystemcuda.cu:35:
/usr/include/GL/gl.h:105:1: warning: this is the location of the previous definition
make[1]: Leaving directory `~/NVIDIA_CUDA_SDK/projects/nbody'
...
...
make -C projects/particles/
make[1]: Entering directory `~/NVIDIA_CUDA_SDK/projects/particles'
In file included from particleSystem.cu:34:
../../common/inc/GL/glut.h:64:1: warning: "APIENTRY" redefined
In file included from ../../common/inc/GL/glut.h:59,
from particleSystem.cu:34:
/usr/include/GL/gl.h:105:1: warning: this is the location of the previous definition
make[1]: Leaving directory `~/NVIDIA_CUDA_SDK/projects/particles'
...
Could someone help me?
Thanks