CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST was not found! (i searched it in cl.h and did not find it)
CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST is in the OpenCL 1.1 spec, but not the 1.0 spec (which is the version that the latest NVIDIA SDK uses). NVIDIA don’t write the header files, Khronos do. The cl.h v1.1 from the Khronos website does contain that constant.