Issue 141: Extra include needed to compile on VS8
Status:  WontFix
Owner: ----
Closed:  Sep 2012
Reported by rbrt8...@gmail.com, Nov 26, 2010
What steps will reproduce the problem?
1. create project in VS8
2. compile

What is the expected output? What do you see instead?

Compiler gives message:
c:\python-2.7\modules\pyodbc-2.1.8\pyodbcmodule.cpp(900) : error C2065: '_CRTDBG_ALLOC_MEM_DF' : undeclared identifier

What version of the product are you using? On what operating system?
Version 2.1.8.

Solution: add following three lines to pyodbcmodule.cpp:
#ifdef _DEBUG
#include <crtdbg.h>
#endif

Please provide any additional information below.
Suggested solution solves the problem
Nov 26, 2010
Project Member #1 mkleehammer
How are you building it?  It is not designed to be built manually using Visual Studio.  You download it and run "python setup.py build" which will set all of the settings to match how your version of Python was built.


Status: Hold
Sep 29, 2012
Project Member #2 mkleehammer
Closing due to inactivity

Status: WontFix