Source: ocl-icd
Version: 1.0.1-1
Severity: serious
Justification: fails to build from source

Builds of ocl-icd with the current toolchain are failing:

  gcc -D_FORTIFY_SOURCE=2 -Wall -Werror -Wno-cpp -Wno-deprecated-declarations 
-Wno-comment  -O2 -g  -c ocl_icd_test.c -o ocl_icd_test.o
  ocl_icd_test.c: In function 'main':
  ocl_icd_test.c:39:5: error: implicit declaration of function 'exit' 
[-Werror=implicit-function-declaration]
  ocl_icd_test.c:39:5: error: incompatible implicit declaration of built-in 
function 'exit' [-Werror]
  ocl_icd_test.c:42:5: error: incompatible implicit declaration of built-in 
function 'exit' [-Werror]
  ocl_icd_test.c:44:3: error: implicit declaration of function 'malloc' 
[-Werror=implicit-function-declaration]
  ocl_icd_test.c:44:33: error: incompatible implicit declaration of built-in 
function 'malloc' [-Werror]
  ocl_icd_test.c:57:5: error: implicit declaration of function 'free' 
[-Werror=implicit-function-declaration]
  ocl_icd_test.c:57:5: error: incompatible implicit declaration of built-in 
function 'free' [-Werror]
  cc1: all warnings being treated as errors
  make[1]: *** [ocl_icd_test.o] Error 1

Please #include <stdlib.h> from ocl_icd_test.c to pick up the
necessary declarations.

Thanks!



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to