[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [39923] branches/cycles/intern/cycles/ device/device_opencl.cpp: Cycles: remove -Werror from opencl compile options, apple opencl on lion
Brecht Van Lommel
brechtvanlommel at pandora.be
Mon Sep 5 10:23:01 CEST 2011
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))
More information about the Bf-blender-cvs
mailing list