Regards,
Justin Dearing
cl /Fos\shardkey.obj /c s\shardkey.cpp /TP /nologo /EHsc /W3 /wd4355 /wd4800 /wd4267 /wd4244 /O2 /MT /Gy /Zi /TP /errorR
eport:none /GL /D_SCONS /DMONGO_EXPOSE_MACROS /DOLDJS /D_UNICODE /DUNICODE /DWIN32 /D_CONSOLE /D_CRT_SECURE_NO_WARNINGS
/DHAVE_CONFIG_H /DPCRE_STATIC /DSUPPORT_UCP /DSUPPORT_UTF8,PSAPI_VERSION=1 /DNDEBUG /DNOEXECINFO /DXP_WIN /DOLDJS /I. /I
js\src /IC:\src\js\src "/IC:\Program Files\Boost\boost_1_42" /Ipcre-7.4 "/IC:\Program Files\Microsoft SDKs\Windows\v7.0\
Include" /IC:\src\winpcap\Include
shardkey.cpp
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\utility(163) : error C2440: 'initializing' : cannot conve
rt from 'int' to 'const char *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\utility(247) : see reference to function template
instantiation 'std::_Pair_base<_Ty1,_Ty2>::_Pair_base<_Ty,_Ty>(_Other1 &&,_Other2 &&)' being compiled
with
[
_Ty1=const char *,
_Ty2=size_t,
_Ty=int,
_Other1=int,
_Other2=int
]
s\shardkey.cpp(98) : see reference to function template instantiation 'std::pair<_Ty1,_Ty2>::pair<int,int>(_Othe
r1 &&,_Other2 &&)' being compiled
with
[
_Ty1=const char *,
_Ty2=size_t,
_Other1=int,
_Other2=int
]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\utility(163) : error C2439: 'std::_Pair_base<_Ty1,_Ty2>::
first' : member could not be initialized
with
[
_Ty1=const char *,
_Ty2=size_t
]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\utility(166) : see declaration of 'std::_Pair_bas
e<_Ty1,_Ty2>::first'
with
[
_Ty1=const char *,
_Ty2=size_t
]
scons: *** [s\shardkey.obj] Error 2
scons: building terminated because of errors.
C:\src\mongo>