"Deprecated" has different meanings for different APIs. For OpenCL, the meaning is:
Deprecation: existing features are marked as deprecated if their usage is not recommended as that feature is being de-emphasized, superseded and may be removed from a future version of the specification.
(Taken from the OpenCL 2.2 provisional spec glossary, where the working group clarified the definition.)
Long story short, this means that you may continue to use the OpenCL 1.2 clCreateCommandQueue() function, even on OpenCL 2.0 implementations where the function is "deprecated". The "deprecated" identifier is simply informational, to indicate that the function or feature may be removed from a future version of the specification.
If the "deprecated" warning bothers you, you may suppress the warning by #defining CL_USE_DEPRECATED_OPENCL_1_2_APIS before #including CL.h.