From 620d415f167d789f52351f01d4dcb902a59bcbaa Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Mon, 15 Nov 2010 16:43:33 +0100 Subject: small modifications and fixes (build, gluegen) - do not fail if artifact.properties is missing in jogl - include cl_ext.h to jocl glue code - added quotes to #warning text in cl_platform.h to be able to cleanly read it via gluegen --- build.xml | 2 +- resources/cl-common.cfg | 2 ++ resources/cl-impl.cfg | 1 + resources/includes/CL_orig/cl_platform.h | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/build.xml b/build.xml index 40c66214..8ce52565 100644 --- a/build.xml +++ b/build.xml @@ -104,7 +104,7 @@ - + diff --git a/resources/cl-common.cfg b/resources/cl-common.cfg index fab403b5..c98fb9b6 100644 --- a/resources/cl-common.cfg +++ b/resources/cl-common.cfg @@ -106,3 +106,5 @@ TagNativeBinding true # platform dependent extensions Ignore .*APPLE.* + +Ignore nanf diff --git a/resources/cl-impl.cfg b/resources/cl-impl.cfg index 856c85cd..4a34683e 100644 --- a/resources/cl-impl.cfg +++ b/resources/cl-impl.cfg @@ -52,6 +52,7 @@ ArgumentIsString clGetExtensionFunctionAddressImpl 0 #append to generated c files CustomCCode #include +CustomCCode #include CustomCCode #include CustomCCode #include CustomCCode #include diff --git a/resources/includes/CL_orig/cl_platform.h b/resources/includes/CL_orig/cl_platform.h index 043b0489..8ef99ff1 100644 --- a/resources/includes/CL_orig/cl_platform.h +++ b/resources/includes/CL_orig/cl_platform.h @@ -405,7 +405,7 @@ typedef unsigned int cl_GLenum; /* #define CL_ALIGNED(_x) _CRT_ALIGN(_x) */ #define CL_ALIGNED(_x) #else - #warning Need to implement some method to align data here + #warning "Need to implement some method to align data here" #define CL_ALIGNED(_x) #endif -- cgit v1.2.3