A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-June/005054.html below:

[Python-Dev] build problems under MSVC 5.0

[Python-Dev] build problems under MSVC 5.0 [Python-Dev] build problems under MSVC 5.0Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Thu, 29 Jun 2000 12:07:42 +0200
Python\thread_nt.h(185) : error C2065: 'INT_PTR' : undeclared identifier
Python\thread_nt.h(185) : error C2146: syntax error : missing ';' before =
identifier 'rv'
Python\thread_nt.h(185) : error C2065: 'rv' : undeclared identifier
Python\thread_nt.h(186) : error C2143: syntax error : missing ';' before =
'type'
Python\thread_nt.h(195) : error C2065: 'success' : undeclared identifier

in MSVC 5.0, _beginthread returns an "unsigned long" (this is also
how it's documented in MSDN).

I suggest changing the declaration in thread_nt.h to:

#if _MSC_VER >=3D 1200
 INT_PTR rv;
#else
 unsigned long rv;
#endif

on the other hand, the same docs claim that it returns -1 on errors.
doesn't exactly look like an unsigned long to me, but that's another
story...

</F>




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4