[pywin32-bugs] [ pywin32-Bugs-1296168 ] 'TRUSTEE_IS_OBJECTS_AND_SID' : undeclared identifier
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2005-09-21 05:49:25
|
Bugs item #1296168, was opened at 2005-09-20 18:51 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1296168&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Out of Date Priority: 5 Submitted By: Berthold Höllmann (hoel) Assigned to: Nobody/Anonymous (nobody) Summary: 'TRUSTEE_IS_OBJECTS_AND_SID' : undeclared identifier Initial Comment: I am trying to add pywin to a selfcompiled python 2.4.1. I do need a python executable compiled with VC 6.0. The compilation ran fine, but when I try to build pywin204 with the freshly compiled python I get a strange, in my eyes impossible combination of warning/error messages: W:\hoel\work\pywin32-204>..\Python-2.4.1\PC\VC6\python.exe setup.py build running build running build_py running build_ext Warning - can't find an installed platform SDK Found WINDOWS.H version 0x501 in C:\Programme\Microsoft Platform SDK\Include building 'pywintypes' extension C:\Programme\Microsoft Visual Studio\VC98\BIN\cl.exe /c nologo /Ox /MD /W3 /GX /DNDEBUG -DDISTUTILS_BUILD Icom/win32com/src/include -Iwin32/src IW:\hoel\work\Python-2.4.1\include -IW:\hoel\work\Python-2.4.1\PC /Tpwin32\src\PyACL.cpp Fobuild\temp.win32-2.4\Release\win32\src\PyACL.obj DBUILD_PYWINTYPES /YXPyWinTypes.h Fpbuild\temp.win32-2.4\Release\pywintypes.pchPyACL.cpp NOTE: You are building with an early Platform SDK - not allTRUSTEE operations on SIDs will be supported win32\src\PyACL.cpp(288) : error C2065: 'TRUSTEE_IS_OBJECTS_AND_SID' : undeclared identifier win32\src\PyACL.cpp(288) : error C2051: case expression not onstant win32\src\PyACL.cpp(289) : error C2065: 'TRUSTEE_IS_OBJECTS_AND_NAME' : undeclared identifier win32\src\PyACL.cpp(289) : error C2051: case expression not constant error: command '"C:\Programme\Microsoft Visual Studio\VC98\BIN\cl.exe"' failed with exit status 2 This combination of messages shold be impossible. A preprocessor "#if" in PyACL.cpp should prevent issuing of the NOT when 'TRUSTEE_IS_OBJECTS_AND_SID' is processed. Further I have the latest Platform SDK installed (Windows Server 2003 SP1 SDK) and so wonder why the macros are not found. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2005-09-21 15:49 Message: Logged In: YES user_id=14198 I believe this is caused by the latest platform SDK changing the way it looks at the #defines for the windows version. It has already been fixed in CVS - please reopen this bug if that is not true for you. ---------------------------------------------------------------------- Comment By: Roger Upole (rupole) Date: 2005-09-21 14:20 Message: Logged In: YES user_id=771074 Setup.py looks in a few predetermined places to try to locate the SDK directories, but you can get this if it can't find them in any of the usual places. You can set the environment variable MSSdk to point to the new SDK, and it'll override the other locations. To print out the places it's looking, set Debug=True in the find_platform_sdk_dir function. Roger ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1296168&group_id=78018 |