Revision: 39923
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39923
Author:   blendix
Date:     2011-09-05 08:23:01 +0000 (Mon, 05 Sep 2011)
Log Message:
-----------
Cycles: remove -Werror from opencl compile options, apple opencl on lion
seems to give "no previous prototype for function" warning, but it doens't
make much sense in opencl, seems like a compiler bug?

Modified Paths:
--------------
    branches/cycles/intern/cycles/device/device_opencl.cpp

Modified: branches/cycles/intern/cycles/device/device_opencl.cpp
===================================================================
--- branches/cycles/intern/cycles/device/device_opencl.cpp      2011-09-05 
08:20:11 UTC (rev 39922)
+++ branches/cycles/intern/cycles/device/device_opencl.cpp      2011-09-05 
08:23:01 UTC (rev 39923)
@@ -230,7 +230,7 @@
                string build_options = "";
 
                build_options += "-I " + kernel_path + ""; /* todo: escape path 
*/
-               build_options += " -Werror -cl-fast-relaxed-math 
-cl-strict-aliasing";
+               build_options += " -cl-fast-relaxed-math -cl-strict-aliasing";
 
                cpProgram = clCreateProgramWithSource(cxContext, 1, 
&source_str, &source_len, &ciErr);
                if(opencl_error(ciErr))

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to