<?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 Hi Rohit in Intel® Distribution for Python*</title>
    <link>https://community.intel.com/t5/Intel-Distribution-for-Python/intelpython3-2018-1-023-x86-64-preprocessing-error-when/m-p/1168918#M1261</link>
    <description>Hi Rohit

the above workaround worked like a charm, thanks.
Fix in next release?
sr</description>
    <pubDate>Thu, 07 Dec 2017 07:53:42 GMT</pubDate>
    <dc:creator>rouberol</dc:creator>
    <dc:date>2017-12-07T07:53:42Z</dc:date>
    <item>
      <title>intelpython3-2018.1-023.x86_64: preprocessing error when compiling python module using regex.h</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/intelpython3-2018-1-023-x86-64-preprocessing-error-when/m-p/1168916#M1259</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I bump into an error when trying to build an additional python module using intelpython3-2018.1-023.x86_64&lt;/P&gt;

&lt;P&gt;OS: CentOs 6.9 x86_64&lt;BR /&gt;
	Compiler: icc 18.0.1.163, gcc, presumed all&lt;BR /&gt;
	Intel python: 3-2018.1-023&lt;/P&gt;

&lt;P&gt;# test:&lt;BR /&gt;
	cat &amp;lt;&amp;lt;EOF &amp;gt; regex_test.c&lt;BR /&gt;
	#include &amp;lt;regex.h&amp;gt;&lt;BR /&gt;
	EOF&lt;/P&gt;

&lt;P&gt;$ icc -E -I /softs/intel/python/2018_u1/intelpython3/include regex_test.c &amp;gt;/dev/null&lt;BR /&gt;
	In file included from /softs/intel/python/2018_u1/intelpython3/include/tclPort.h(23),&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from /softs/intel/python/2018_u1/intelpython3/include/tclInt.h(36),&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from /softs/intel/python/2018_u1/intelpython3/include/regex.h(4),&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from regex_test.c(1):&lt;BR /&gt;
	/softs/intel/python/2018_u1/intelpython3/include/tclUnixPort.h(158): error #2379: cannot open source file "../compat/unistd.h"&lt;BR /&gt;
	&amp;nbsp; #&amp;nbsp;&amp;nbsp; include "../compat/unistd.h"&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^&lt;BR /&gt;
	The "/softs/intel/python/2018_u1/intelpython3/include" include path is *required* for additional python modules compilation.&lt;BR /&gt;
	Obviously the *tcl header overrides the glibc one*.&lt;/P&gt;

&lt;P&gt;No such problem occurs with a system python installation (CentOS 6.9), since glibc include "regex.h" is used.&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;

&lt;P&gt;sr&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 15:49:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/intelpython3-2018-1-023-x86-64-preprocessing-error-when/m-p/1168916#M1259</guid>
      <dc:creator>rouberol</dc:creator>
      <dc:date>2017-12-06T15:49:43Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/intelpython3-2018-1-023-x86-64-preprocessing-error-when/m-p/1168917#M1260</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Thanks for bringing this issue to our attention, we would address this. In the meantime, you can employ the following workaround to build your Python extension:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;In file &amp;lt;IDP_installation&amp;gt;/include/&lt;STRONG&gt;tclUnixPort.h&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp;Replace : (from line 155)&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;   #ifdef HAVE_UNISTD_H
   #   include &amp;lt;unistd.h&amp;gt;
   #else
   #   include "../compat/unistd.h"
   #endif&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp;With:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;   #ifdef HAVE_UNISTD_H
   #   include &amp;lt;unistd.h&amp;gt;
   #else
   #   include "compat/unistd.h"
   #endif&lt;/PRE&gt;

&lt;UL&gt;
	&lt;LI&gt;In file &amp;lt;IDP_installation&amp;gt;/include/&lt;STRONG&gt;tclInt.h&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp;Replace: (from line 51)&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;  #ifdef STDC_HEADERS
  #include &amp;lt;stddef.h&amp;gt;
  #else
  typedef int ptrdiff_t;
  #endif&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp;With:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;  #ifdef STDC_HEADERS
  #include &amp;lt;stddef.h&amp;gt;
  #else
  #ifndef _PTRDIFF_T
  #define _PTRDIFF_T
  typedef int ptrdiff_t;
  #endif
  #endif&lt;/PRE&gt;

&lt;P&gt;With this workaround, you should be able to build regex_test.c with : &lt;STRONG&gt;icc -I&amp;lt;IDP_installation&amp;gt;/include regex_test.c&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	Rohit&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 21:52:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/intelpython3-2018-1-023-x86-64-preprocessing-error-when/m-p/1168917#M1260</guid>
      <dc:creator>Rohit_J_Intel</dc:creator>
      <dc:date>2017-12-06T21:52:57Z</dc:date>
    </item>
    <item>
      <title>Hi Rohit</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/intelpython3-2018-1-023-x86-64-preprocessing-error-when/m-p/1168918#M1261</link>
      <description>Hi Rohit

the above workaround worked like a charm, thanks.
Fix in next release?
sr</description>
      <pubDate>Thu, 07 Dec 2017 07:53:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/intelpython3-2018-1-023-x86-64-preprocessing-error-when/m-p/1168918#M1261</guid>
      <dc:creator>rouberol</dc:creator>
      <dc:date>2017-12-07T07:53:42Z</dc:date>
    </item>
    <item>
      <title>Yes, this would be fixed in</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/intelpython3-2018-1-023-x86-64-preprocessing-error-when/m-p/1168919#M1262</link>
      <description>&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Yes, this would be fixed in the next release. Glad to be of help.&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Rohit&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Dec 2017 13:02:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/intelpython3-2018-1-023-x86-64-preprocessing-error-when/m-p/1168919#M1262</guid>
      <dc:creator>Rohit_J_Intel</dc:creator>
      <dc:date>2017-12-07T13:02:25Z</dc:date>
    </item>
  </channel>
</rss>

