Skip to content

Build failure on gcc 7.2.1 #6

New issue

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

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

Already on GitHub? Sign in to your account

Closed
raunraun opened this issue Feb 9, 2018 · 2 comments
Closed

Build failure on gcc 7.2.1 #6

raunraun opened this issue Feb 9, 2018 · 2 comments
Labels

Comments

@raunraun
Copy link

raunraun commented Feb 9, 2018

/home/raun/workspace/neo/runtime/mem_obj/image.cpp: In static member function ‘static OCLRT::Image* OCLRT::Image::create(OCLRT::Context*, cl_mem_flags, const OCLRT::SurfaceFormatInfo*, const cl_image_desc*, const void*, cl_int&)’:
/home/raun/workspace/neo/runtime/mem_obj/image.cpp:146:24: error: this statement may fall through [-Werror=implicit-fallthrough=]
             imageDepth = imageDesc->image_depth;
             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/raun/workspace/neo/runtime/mem_obj/image.cpp:147:9: note: here
         case CL_MEM_OBJECT_IMAGE2D:

Maybe have a way to disable warnings as errors?

@MichalMrozek
Copy link
Contributor

Thanks for report.
This will be fixed.

@MichalMrozek
Copy link
Contributor

Problem fixed.

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

No branches or pull requests

2 participants