[Bf-blender-cvs] [da49ee3] master: Fix T47100: OpenCL compilation warnings due to missing space in the argument list

Sergey Sharybin noreply at git.blender.org
Sun Jan 3 19:13:53 CET 2016


Commit: da49ee30b00575ce34e2e63219f08abc11ed75f8
Author: Sergey Sharybin
Date:   Sun Jan 3 23:10:57 2016 +0500
Branches: master
https://developer.blender.org/rBda49ee30b00575ce34e2e63219f08abc11ed75f8

Fix T47100: OpenCL compilation warnings due to missing space in the argument list

===================================================================

M	intern/cycles/device/device_opencl.cpp

===================================================================

diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp
index a1743f5..c49583b 100644
--- a/intern/cycles/device/device_opencl.cpp
+++ b/intern/cycles/device/device_opencl.cpp
@@ -2287,9 +2287,9 @@ public:
 		string clbin;
 		string clsrc, *debug_src = NULL;
 
-		string build_options = "-D__SPLIT_KERNEL__";
+		string build_options = "-D__SPLIT_KERNEL__ ";
 #ifdef __WORK_STEALING__
-		build_options += " -D__WORK_STEALING__";
+		build_options += "-D__WORK_STEALING__ ";
 #endif
 		build_options += requested_features.get_build_options();




More information about the Bf-blender-cvs mailing list