This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: missing debug configuration for make_versioninfo.vcproj
Type: compile error Stage:
Components: Windows Versions: Python 3.0
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: christian.heimes Nosy List: JosephArmbruster, christian.heimes
Priority: normal Keywords:

Created on 2007-11-20 18:14 by JosephArmbruster, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
pythonnt.patch JosephArmbruster, 2007-11-20 18:14
pythonnt.patch JosephArmbruster, 2007-11-20 20:00
Messages (3)
msg57704 - (view) Author: Joseph Armbruster (JosephArmbruster) Date: 2007-11-20 18:14
Revision: 59073

make_versioninfo.vcproj is missing the debug configuration.  As a
result, if you try to build python in debug, you will receive an error
during compile in python_nt.rc, due to this block:

#define MS_WINDOWS
#include "modsupport.h"
#include "patchlevel.h"
#ifdef _DEBUG
#   include "pythonnt_rc_d.h"
#else
#   include "pythonnt_rc.h"
#endif

This is because the file pythonnt_rc_d.h is never created.  The attached
patch should resolve this.
msg57707 - (view) Author: Joseph Armbruster (JosephArmbruster) Date: 2007-11-20 20:00
Whoops, looks like I missed the solution, which is also needed for the
patch.  Here's the correct version.  Do the following to test:

- Load up the PCBuild9 solution
- set python as the "Start Up" project,
- select Debug configuration
- press ctrl-shift-b
- press F5
.. it should run in debug

- select Release configuration
- press ctrl-shift-b
- press F5
.. it should run in release
msg57713 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2007-11-20 22:02
Thanks ;)
History
Date User Action Args
2022-04-11 14:56:28adminsetgithub: 45817
2007-11-20 22:02:34christian.heimessetstatus: open -> closed
resolution: fixed
messages: + msg57713
2007-11-20 21:15:27loewissetassignee: christian.heimes
2007-11-20 20:00:29JosephArmbrustersetfiles: + pythonnt.patch
messages: + msg57707
2007-11-20 18:25:01JosephArmbrustersetnosy: + christian.heimes
2007-11-20 18:14:03JosephArmbrustercreate