<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 3: errno definition problem</title><link>https://sourceforge.net/p/pythonce/bugs/3/</link><description>Recent changes to 3: errno definition problem</description><atom:link href="https://sourceforge.net/p/pythonce/bugs/3/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 24 May 2007 13:13:05 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pythonce/bugs/3/feed.rss" rel="self" type="application/rss+xml"/><item><title>errno definition problem</title><link>https://sourceforge.net/p/pythonce/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The definition of wince_errno_pointer_function in wince_compatibility.h isn't "extern", which means that every file that includes Python.h will get its own copy of this variable and that causes link-time problems.&lt;/p&gt;
&lt;p&gt;The definition:&lt;/p&gt;
&lt;p&gt;int *(*wince_errno_pointer_function)(void);&lt;/p&gt;
&lt;p&gt;This should be:&lt;/p&gt;
&lt;p&gt;extern int *(*wince_errno_pointer_function)(void);&lt;/p&gt;
&lt;p&gt;This is with python2.5 and eMebbeded Visual C++ 4.0 SP4 and compiling a C++ program that embeds python.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ronald Oussoren</dc:creator><pubDate>Thu, 24 May 2007 13:13:05 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netd6e065fae26a222e650b32392a528e136030f860</guid></item></channel></rss>