<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Quote:Robert Ioffe (Intel) in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-C-compiler-problem/m-p/1035651#M3659</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Robert Ioffe (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Dear Kirill,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;C4996 should be a warning (see&amp;nbsp;&lt;A href="http://msdn.microsoft.com/en-us/library/ttcz0bys.aspx"&gt;http://msdn.microsoft.com/en-us/library/ttcz0bys.aspx&lt;/A&gt; ). Probably, in your project you set to treat level 3 warnings (or all warnings) as errors. Check whether you are setting one of the following flags&amp;nbsp;&lt;A href="http://msdn.microsoft.com/en-us/library/thxezb7y.aspx"&gt;http://msdn.microsoft.com/en-us/library/thxezb7y.aspx&lt;/A&gt;&amp;nbsp;in Visual Studio and disable them. Warning about clCreateSampler is OK, if you don't want to see it, you can define&amp;nbsp;&lt;STRONG&gt;_CRT_SECURE_NO_WARNINGS.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Disabling of SDL checks was helpful)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Oct 2014 01:01:43 GMT</pubDate>
    <dc:creator>Kirill_L_</dc:creator>
    <dc:date>2014-10-27T01:01:43Z</dc:date>
    <item>
      <title>OpenCL C++ compiler problem</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-C-compiler-problem/m-p/1035649#M3657</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have Windows 8.1 64-bit, Intel OpenCL SDK 4.6, Visual Studio 2013 Express Edition. Also I have added all nessesary directories in the project properties (include directory, lib directory and OpenCL.lib file for linker). Program is very simple:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;#include &amp;lt;CL\cl.hpp&amp;gt;

int main() {
     return 0;
}&lt;/PRE&gt;

&lt;P&gt;But I can't compile it:&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;error C4996: 'clCreateSampler': was declared deprecated.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Do you have any ideas, how to solve this problem?&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Oct 2014 23:34:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-C-compiler-problem/m-p/1035649#M3657</guid>
      <dc:creator>Kirill_L_</dc:creator>
      <dc:date>2014-10-26T23:34:54Z</dc:date>
    </item>
    <item>
      <title>Dear Kirill, </title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-C-compiler-problem/m-p/1035650#M3658</link>
      <description>&lt;P&gt;Dear Kirill,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;C4996 should be a warning (see&amp;nbsp;http://msdn.microsoft.com/en-us/library/ttcz0bys.aspx ). Probably, in your project you set to treat level 3 warnings (or all warnings) as errors. Check whether you are setting one of the following flags&amp;nbsp;http://msdn.microsoft.com/en-us/library/thxezb7y.aspx&amp;nbsp;in Visual Studio and disable them. Warning about clCreateSampler is OK, if you don't want to see it, you can define&amp;nbsp;&lt;STRONG style="color: rgb(42, 42, 42); font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 18px;"&gt;_CRT_SECURE_NO_WARNINGS.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2014 00:18:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-C-compiler-problem/m-p/1035650#M3658</guid>
      <dc:creator>Robert_I_Intel</dc:creator>
      <dc:date>2014-10-27T00:18:21Z</dc:date>
    </item>
    <item>
      <title>Quote:Robert Ioffe (Intel)</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-C-compiler-problem/m-p/1035651#M3659</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Robert Ioffe (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Dear Kirill,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;C4996 should be a warning (see&amp;nbsp;&lt;A href="http://msdn.microsoft.com/en-us/library/ttcz0bys.aspx"&gt;http://msdn.microsoft.com/en-us/library/ttcz0bys.aspx&lt;/A&gt; ). Probably, in your project you set to treat level 3 warnings (or all warnings) as errors. Check whether you are setting one of the following flags&amp;nbsp;&lt;A href="http://msdn.microsoft.com/en-us/library/thxezb7y.aspx"&gt;http://msdn.microsoft.com/en-us/library/thxezb7y.aspx&lt;/A&gt;&amp;nbsp;in Visual Studio and disable them. Warning about clCreateSampler is OK, if you don't want to see it, you can define&amp;nbsp;&lt;STRONG&gt;_CRT_SECURE_NO_WARNINGS.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Disabling of SDL checks was helpful)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2014 01:01:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-C-compiler-problem/m-p/1035651#M3659</guid>
      <dc:creator>Kirill_L_</dc:creator>
      <dc:date>2014-10-27T01:01:43Z</dc:date>
    </item>
    <item>
      <title>I had the same problem and</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-C-compiler-problem/m-p/1035652#M3660</link>
      <description>&lt;P&gt;I had the same problem and disabling SDL checks solved it. Defining _CRT_SECURE_NO_WARNINGS had no effect.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Nov 2014 06:50:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-C-compiler-problem/m-p/1035652#M3660</guid>
      <dc:creator>Jurczak__Paul</dc:creator>
      <dc:date>2014-11-08T06:50:42Z</dc:date>
    </item>
  </channel>
</rss>

