buaazp / zimg

A lightweight and high performance image storage and processing system.
http://zimg.buaa.us
BSD 3-Clause "New" or "Revised" License
2.69k stars 401 forks source link

dither_avx512.cpp: expected ';' before 'return' #206

Open LigH-de opened 6 years ago

LigH-de commented 6 years ago

Compiling zimg in jb-alvarado's media-autobuild_suite exposes the following build error:

├ Running make...
Likely error:
../src/zimg/depth/x86/dither_avx512.cpp: In function '__m512i zimg::depth::{anonymous}::ordered_dither_avx512_xiter(__m512, unsigned int, const float*, unsigned int, unsigned int, const __m512&, const __m512&, const __m512i&)':

../src/zimg/depth/x86/dither_avx512.cpp:80:2: error: expected ';' before 'return'

  return out;

  ^~~~~~

../src/zimg/depth/x86/dither_avx512.cpp:81:1: warning: no return statement in function returning non-void [-Wreturn-type]

 }

 ^

make[1]: *** [Makefile:2253: src/zimg/depth/x86/libavx512_la-dither_avx512.lo] Error 1

logs.zip

buaazp commented 6 years ago

Hi, your issue maybe belong libzimg, this repo is zimg.

LigH-de commented 6 years ago

Yes, sorry, the managers of the auto-build suite already found the correct reason and solution... googling for any zimg repo was apparently not sufficient.