[krbdev.mit.edu #5549] KFW 3.2 Beta 2 compilation error on VS2005: C2757 error

Greg Roth via RT rt-comment at krbdev.mit.edu
Thu Apr 26 12:03:01 EDT 2007


Hello,
 
Beta 2 of KFW 3.2 does not seem to compile on the current version of Visual
Studio 2005. 
 
Error C2757 occurs in CCLAllocators.h
 
Per http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=135955
<http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=135955&SiteID=1>
&SiteID=1 this is due to a bug in Visual Studio 2003 that was corrected in
visual studio 2005.
 
Cl version is:
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for
80x86
 
 
The end of the build log is below, I have also attached the full bkw.pl.log.
 
 
[07/04/25 16:44:49] Entering auth\krbcc\src\CCacheLib\Sources
[07/04/25 16:44:49]
[07/04/25 16:44:49] Building auth\krbcc\src\CCacheLib\Sources
[07/04/25 16:44:49] Included Makefile.dep
[07/04/25 16:44:49] Output going into .\obj\i386\rel
[07/04/25 16:44:50]     cl -c  -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo
-D_X86_
=1  -DWIN32 -D_WIN32 -W3 -D_WINNT -D_WIN32_WINNT=0x0400 -D_WIN32_IE=0x0400
-DWIN
VER=0x0400 -Os -Zi  -D_MT -D_DLL -MD  -EHsc -DNDEBUG -nologo -I..\Headers
-I..\H
eaders.mac -I.\Headers -Fo.\obj\i386\rel\ -Fd.\obj\i386\rel\ -FD -c ...
[07/04/25 16:44:50] CCache2Compat.cp
[07/04/25 16:44:52]
c:\kfw\src\athena\auth\krbcc\src\ccachelib\sources\headers\C
CIAllocators.h(145) : warning C4290: C++ exception specification ignored
except
to indicate a function is not __declspec(nothrow)
[07/04/25 16:44:52]
c:\kfw\src\athena\auth\krbcc\src\ccachelib\sources\headers\C
CIData.h(52) : error C2757: 'Implementations' : a symbol with this name
already
exists and therefore this name cannot be used as a namespace name
[07/04/25 16:44:52]
c:\kfw\src\athena\auth\krbcc\src\ccachelib\sources\headers\C
CICredentialsData.h(127) : error C2039: 'CCISharedCCData' : is not a member
of '
CallImplementations'
[07/04/25 16:44:52]
c:\kfw\src\athena\auth\krbcc\src\ccachelib\sources\headers\C
CICredentialsData.h(128) : error C2039: 'CCISharedCCDataArray' : is not a
member
 of 'CallImplementations'
[07/04/25 16:44:52] NMAKE : fatal error U1077: '"C:\Program Files\Microsoft
SDKs
\Windows\v6.0\VC\Bin\cl.EXE"' : return code '0x2'
[07/04/25 16:44:52] Stop.
[07/04/25 16:44:52] Fatal -- build  failed. at bkw.pl line 509.
 
 
Thanks!
 
--
Greg Roth
Programmer Analyst/Sr
OIT-Security / Identity Management
Cornell University
120 Maple Ave.
Ithaca, NY 14853
(607)-255-3340
 




More information about the krb5-bugs mailing list