Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Consider to fix -Wcast-qual warning in 3 files #240

Open
haonanya opened this issue Sep 24, 2024 · 0 comments
Open

Consider to fix -Wcast-qual warning in 3 files #240

haonanya opened this issue Sep 24, 2024 · 0 comments

Comments

@haonanya
Copy link

haonanya commented Sep 24, 2024

ocl-icd-src/loader/icd.c:329:23: error: cast from 'const struct _cl_icd_dispatch *' to 'void **' drops const qualifier [-Werror,-Wcast-qual]
329 | ((void **)layerDispatch)[i] ?
ocl-icd-src/loader/linux/icd_linux.c:132:39
ocl-icd-src/loader/icd_dispatch.c::44

opencl-icd-loader fail with -Werror,-Wcast-qual.
tag @bashbaug, @Kerilk

Drafted #241 to fix them.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant