Re: [PATCHES] Tiny plpython fix

2006-09-16 Thread Magnus Hagander
Seems __vc_errcode was used during Visual C++ beta at some point, and is now declared deprecated in the system headers. This patch renames our use of it to __msvc_errcode, so we don't conflict anymore. If we need this change in plpython, why not also src/include/port/win32.h?

Re: [PATCHES] Tiny plpython fix

2006-09-16 Thread Tom Lane
Magnus Hagander [EMAIL PROTECTED] writes: If we need this change in plpython, why not also src/include/port/win32.h? That's a very good question. It is because something that's pulled in from the python headers causes the deprecation to show. Whereas when we compile other things, the

[PATCHES] Tiny plpython fix

2006-09-15 Thread Magnus Hagander
Seems __vc_errcode was used during Visual C++ beta at some point, and is now declared deprecated in the system headers. This patch renames our use of it to __msvc_errcode, so we don't conflict anymore. //Magnus plpython_vcerr.patch Description: plpython_vcerr.patch