summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-11-15 16:43:33 +0100
committerMichael Bien <[email protected]>2010-11-15 16:43:33 +0100
commit620d415f167d789f52351f01d4dcb902a59bcbaa (patch)
treed25bd26ecca356a4f0ee726c7fd8731ef8b5835e /resources
parentec962d224830804c38b5dd0362e0f6d284b73a22 (diff)
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
Diffstat (limited to 'resources')
-rw-r--r--resources/cl-common.cfg2
-rw-r--r--resources/cl-impl.cfg1
-rw-r--r--resources/includes/CL_orig/cl_platform.h2
3 files changed, 4 insertions, 1 deletions
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 <CL/cl.h>
+CustomCCode #include <CL/cl_ext.h>
CustomCCode #include <CL/cl_gl.h>
CustomCCode #include <GL3/gl3.h>
CustomCCode #include <inttypes.h>
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