<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 3: errno definition problem</title><link href="https://sourceforge.net/p/pythonce/bugs/3/" rel="alternate"/><link href="https://sourceforge.net/p/pythonce/bugs/3/feed.atom" rel="self"/><id>https://sourceforge.net/p/pythonce/bugs/3/</id><updated>2007-05-24T13:13:05Z</updated><subtitle>Recent changes to 3: errno definition problem</subtitle><entry><title>errno definition problem</title><link href="https://sourceforge.net/p/pythonce/bugs/3/" rel="alternate"/><published>2007-05-24T13:13:05Z</published><updated>2007-05-24T13:13:05Z</updated><author><name>Ronald Oussoren</name><uri>https://sourceforge.net/u/ronaldoussoren/</uri></author><id>https://sourceforge.netd6e065fae26a222e650b32392a528e136030f860</id><summary type="html">&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;</summary></entry></feed>