[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-20 08:51:39
|
Bugs item #1296168, was opened at 2005-09-20 10:51 Message generated for change (Tracker Item Submitted) made by Item Submitter 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: Open Resolution: None 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1296168&group_id=78018 |