KhronosGroup / OpenCL-CLHPP

Khronos OpenCL-CLHPP
Apache License 2.0
375 stars 129 forks source link

Fix warnings #221

Closed Kerilk closed 1 year ago

Kerilk commented 1 year ago

This fixes several classes of warnings that are creating a lot of noise in the build. Those may be hiding issues we would like to fix. I will rebase on https://github.com/KhronosGroup/OpenCL-CLHPP/pull/218 as I didn't want to muddy the waters by adding those commit to the existing PR. The classes of issues fixed are:

Once this and https://github.com/KhronosGroup/OpenCL-CLHPP/pull/218 are merged, remaining warnings need to be investigated, and we may think about activating -Werror at least on Linux and MacOS targets.