In file included from /home/mik/ASL/ASL/src/math/../aslUtilities.h:32:0, from /home/mik/ASL/ASL/src/math/aslVectorsDynamicLength.h:30, from /home/mik/ASL/ASL/src/math/aslVectors.h:30, from /home/mik/ASL/ASL/src/math/aslTemplates.h:27, from /home/mik/ASL/ASL/examples/massTransferSM/testSMDiff3C.cc:30: /home/mik/ASL/ASL/src/math/../acl/cl.hpp:6238:46: warning: ‘cl_int clEnqueueTask(cl_command_queue, cl_kernel, cl_uint, _cl_event* const*, _cl_event**)’ is deprecated [-Wdeprecated-declarations] (event != NULL) ? &tmp : NULL), ^ In file included from /usr/include/CL/opencl.h:47:0, from /home/mik/ASL/ASL/src/math/../acl/cl.hpp:75, from /home/mik/ASL/ASL/src/math/../aslUtilities.h:32, from /home/mik/ASL/ASL/src/math/aslVectorsDynamicLength.h:30, from /home/mik/ASL/ASL/src/math/aslVectors.h:30, from /home/mik/ASL/ASL/src/math/aslTemplates.h:27, from /home/mik/ASL/ASL/examples/massTransferSM/testSMDiff3C.cc:30: /usr/include/CL/cl.h:1441:1: note: declared here clEnqueueTask(cl_command_queue /* command_queue */, ^~~~~~~~~~~~~ [ 97%] Built target surfaceFlux Scanning dependencies of target testSMPhiBV [ 98%] Building CXX object examples/massTransferSM/CMakeFiles/testSMPhiBV.dir/testSMPhiBV.cc.o [ 98%] Linking CXX executable testSMDiff3C/asl-testSMDiff3C [ 98%] Built target testSMDiff3C In file included from /home/mik/ASL/ASL/src/math/../aslUtilities.h:32:0, from /home/mik/ASL/ASL/src/math/aslVectorsDynamicLength.h:30, from /home/mik/ASL/ASL/src/math/aslVectors.h:30, from /home/mik/ASL/ASL/src/math/aslTemplates.h:27, from /home/mik/ASL/ASL/examples/massTransferSM/testSMPhi.cc:29: /home/mik/ASL/ASL/src/math/../acl/cl.hpp: In constructor ‘cl::Sampler::Sampler(const cl::Context&, cl_bool, cl_addressing_mode, cl_filter_mode, cl_int*)’: /home/mik/ASL/ASL/src/math/../acl/cl.hpp:4522:21: warning: ‘_cl_sampler* clCreateSampler(cl_context, cl_bool, cl_addressing_mode, cl_filter_mode, cl_int*)’ is deprecated [-Wdeprecated-declarations] object_ = ::clCreateSampler( ^~~~~~~~~~~~~~~ In file included from /usr/include/CL/opencl.h:47:0, from /home/mik/ASL/ASL/src/math/../acl/cl.hpp:75, from /home/mik/ASL/ASL/src/math/../aslUtilities.h:32, from /home/mik/ASL/ASL/src/math/aslVectorsDynamicLength.h:30, from /home/mik/ASL/ASL/src/math/aslVectors.h:30, from /home/mik/ASL/ASL/src/math/aslTemplates.h:27, from /home/mik/ASL/ASL/examples/massTransferSM/testSMPhi.cc:29: /usr/include/CL/cl.h:1434:1: note: declared here clCreateSampler(cl_context /* context */, ^~~~~~~~~~~~~~~