Skip to content

Instantly share code, notes, and snippets.

@ab5y
Created March 14, 2020 08:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ab5y/593b34a62187aaeb1e58aeaf0386580f to your computer and use it in GitHub Desktop.
Save ab5y/593b34a62187aaeb1e58aeaf0386580f to your computer and use it in GitHub Desktop.
Ninja Errors Getting Weirder
C:\Users\Abhay\Code\shaka_packager\src>set GYP_DEFINES='target_arch=x64' && gclient runhooks
Running hooks: 80% ( 4/ 5)
________ running 'vpython.bat src/gyp_packager.py --depth=src/packager' in 'C:\Users\Abhay\Code\shaka_packager'
Updating projects from gyp files...
Hook 'vpython.bat src/gyp_packager.py --depth=src/packager' took 10.29 secs
Running hooks: 100% (5/5), done.
C:\Users\Abhay\Code\shaka_packager\src>ninja -C out/Release_x64
ninja: Entering directory `out/Release_x64'
[4/266] CXX obj\base\win\base.win_util.obj
FAILED: obj/base/win/base.win_util.obj
ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe" /nologo /showIncludes /FC @obj\base\win\base.win_util.obj.rsp /c ..\..\packager\base\win\win_util.cc /Foobj\base\win\base.win_util.obj /Fdobj\base\base.cc.pdb
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(128): error C2953: '_CrtEnableIf<true,_Ty>': class template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(125): note: see declaration of '_CrtEnableIf<true,_Ty>'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(483): error C2011: '__crt_locale_data_public': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(455): note: see declaration of '__crt_locale_data_public'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(490): error C2011: '__crt_locale_pointers': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(462): note: see declaration of '__crt_locale_pointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(498): error C2011: '_Mbstatet': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(470): note: see declaration of '_Mbstatet'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(79): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(80): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(94): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(95): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(175): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2377: '_locale_t': redefinition; typedef cannot be overloaded with any other symbol
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(467): note: see declaration of '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2146: syntax error: missing ';' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(29): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(31): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(36): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(38): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(43): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(45): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2143: syntax error: missing ',' before '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(51): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(53): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(55): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(63): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2733: '_tolower_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(64): note: see declaration of '_tolower_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(65): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2733: '_toupper_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(66): note: see declaration of '_toupper_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(68): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(69): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(70): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(71): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(145): error C2084: function '__crt_locale_data_public *__acrt_get_locale_data_prefix(volatile const void *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(144): note: see previous definition of '__acrt_get_locale_data_prefix'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2143: syntax error: missing ';' before 'const'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2146: syntax error: missing ';' before identifier '_LocalePointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): error C2227: left of '->locinfo' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): note: type is 'const int'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(157): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(154): error C2733: '_chvalidchk_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: see declaration of '_chvalidchk_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(165): error C2227: left of '->_locale_pctype' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(178): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(175): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(181): error C2227: left of '->_locale_mb_cur_max' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): error C2664: 'int _isctype_l(int,int,_locale_t)': cannot convert argument 3 from 'int' to '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): note: Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): error C2665: '_chvalidchk_l': none of the 2 overloads could convert all the argument types
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: could be 'int _chvalidchk_l(const int,const int,const _locale_t)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): note: while trying to match the argument list '(const int, const int, int)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(41): error C2084: function 'errno_t memcpy_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(35): note: see previous definition of 'memcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(70): error C2084: function 'errno_t memmove_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(64): note: see previous definition of 'memmove_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(35): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(31): error C2733: '_memicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(31): note: see declaration of '_memicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(105): error C2084: function 'void *memchr(void *,int,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(97): note: see previous definition of 'memchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(93): error C2995: 'errno_t wcscat_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(93): note: see declaration of 'wcscat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(115): error C2995: 'errno_t wcscpy_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(115): note: see declaration of 'wcscpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(163): error C2084: function 'size_t wcsnlen_s(const wchar_t *,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(159): note: see previous definition of 'wcsnlen_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(174): error C2995: 'errno_t wcsncat_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(174): note: see declaration of 'wcsncat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(196): error C2995: 'errno_t wcsncpy_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(196): note: see declaration of 'wcsncpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(244): error C2084: function 'wchar_t *_wcstok(wchar_t *const ,const wchar_t *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(240): note: see previous definition of '_wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(258): error C2084: function 'wchar_t *wcstok(wchar_t *,const wchar_t *) throw()' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(254): note: see previous definition of 'wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(286): error C2995: 'errno_t _wcserror_s(wchar_t (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(286): note: see declaration of '_wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(305): error C2995: 'errno_t __wcserror_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(305): note: see declaration of '__wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(315): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(312): error C2733: '_wcsicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(312): note: see declaration of '_wcsicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(328): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(324): error C2733: '_wcsnicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(324): note: see declaration of '_wcsnicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(343): error C2995: 'errno_t _wcsnset_s(wchar_t (&)[_Size],wchar_t,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(343): note: see declaration of '_wcsnset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(367): error C2995: 'errno_t _wcsset_s(wchar_t (&)[_Size],wchar_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(367): note: see declaration of '_wcsset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(384): error C2995: 'errno_t _wcslwr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(384): note: see declaration of '_wcslwr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(395): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(392): error C2733: '_wcslwr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(392): note: see declaration of '_wcslwr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(409): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(420): error C2995: 'errno_t _wcsupr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(420): note: see declaration of '_wcsupr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(431): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(428): error C2733: '_wcsupr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(428): note: see declaration of '_wcsupr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(445): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(461): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(474): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(487): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(502): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(517): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(533): error C2084: function 'wchar_t *wcschr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(532): note: see previous definition of 'wcschr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(539): error C2084: function 'wchar_t *wcspbrk(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(538): note: see previous definition of 'wcspbrk'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(545): error C2084: function 'wchar_t *wcsrchr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(544): note: see previous definition of 'wcsrchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(552): error C2084: function 'wchar_t *wcsstr(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(551): note: see previous definition of 'wcsstr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(82): error C2995: 'errno_t strcat_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(82): note: see declaration of 'strcat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(116): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(113): error C2733: '_strcoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(113): note: see declaration of '_strcoll_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(123): error C2995: 'errno_t strcpy_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(128): note: see declaration of 'strcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(169): error C2995: 'errno_t _strerror_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(174): note: see declaration of '_strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(181): error C2995: 'errno_t strerror_s(char (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(186): note: see declaration of 'strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(199): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(196): error C2733: '_stricoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(200): fatal error C1003: error count exceeds 100; stopping compilation
[13/266] CXX obj\media\crypto\crypto_unittest.encryption_handler_unittest.obj
ninja: build stopped: subcommand failed.
C:\Users\Abhay\Code\shaka_packager\src>ninja -C out/Release_x64
ninja: Entering directory `out/Release_x64'
[4/254] CXX obj\base\win\base.win_util.obj
FAILED: obj/base/win/base.win_util.obj
ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe" /nologo /showIncludes /FC @obj\base\win\base.win_util.obj.rsp /c ..\..\packager\base\win\win_util.cc /Foobj\base\win\base.win_util.obj /Fdobj\base\base.cc.pdb
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(128): error C2953: '_CrtEnableIf<true,_Ty>': class template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(125): note: see declaration of '_CrtEnableIf<true,_Ty>'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(483): error C2011: '__crt_locale_data_public': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(455): note: see declaration of '__crt_locale_data_public'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(490): error C2011: '__crt_locale_pointers': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(462): note: see declaration of '__crt_locale_pointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(498): error C2011: '_Mbstatet': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(470): note: see declaration of '_Mbstatet'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(79): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(80): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(94): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(95): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(175): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2377: '_locale_t': redefinition; typedef cannot be overloaded with any other symbol
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(467): note: see declaration of '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2146: syntax error: missing ';' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(29): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(31): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(36): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(38): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(43): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(45): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2143: syntax error: missing ',' before '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(51): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(53): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(55): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(63): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2733: '_tolower_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(64): note: see declaration of '_tolower_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(65): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2733: '_toupper_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(66): note: see declaration of '_toupper_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(68): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(69): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(70): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(71): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(145): error C2084: function '__crt_locale_data_public *__acrt_get_locale_data_prefix(volatile const void *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(144): note: see previous definition of '__acrt_get_locale_data_prefix'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2143: syntax error: missing ';' before 'const'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2146: syntax error: missing ';' before identifier '_LocalePointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): error C2227: left of '->locinfo' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): note: type is 'const int'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(157): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(154): error C2733: '_chvalidchk_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: see declaration of '_chvalidchk_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(165): error C2227: left of '->_locale_pctype' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(178): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(175): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(181): error C2227: left of '->_locale_mb_cur_max' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): error C2664: 'int _isctype_l(int,int,_locale_t)': cannot convert argument 3 from 'int' to '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): note: Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): error C2665: '_chvalidchk_l': none of the 2 overloads could convert all the argument types
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: could be 'int _chvalidchk_l(const int,const int,const _locale_t)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): note: while trying to match the argument list '(const int, const int, int)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(41): error C2084: function 'errno_t memcpy_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(35): note: see previous definition of 'memcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(70): error C2084: function 'errno_t memmove_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(64): note: see previous definition of 'memmove_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(35): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(31): error C2733: '_memicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(31): note: see declaration of '_memicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(105): error C2084: function 'void *memchr(void *,int,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(97): note: see previous definition of 'memchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(93): error C2995: 'errno_t wcscat_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(93): note: see declaration of 'wcscat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(115): error C2995: 'errno_t wcscpy_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(115): note: see declaration of 'wcscpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(163): error C2084: function 'size_t wcsnlen_s(const wchar_t *,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(159): note: see previous definition of 'wcsnlen_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(174): error C2995: 'errno_t wcsncat_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(174): note: see declaration of 'wcsncat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(196): error C2995: 'errno_t wcsncpy_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(196): note: see declaration of 'wcsncpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(244): error C2084: function 'wchar_t *_wcstok(wchar_t *const ,const wchar_t *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(240): note: see previous definition of '_wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(258): error C2084: function 'wchar_t *wcstok(wchar_t *,const wchar_t *) throw()' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(254): note: see previous definition of 'wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(286): error C2995: 'errno_t _wcserror_s(wchar_t (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(286): note: see declaration of '_wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(305): error C2995: 'errno_t __wcserror_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(305): note: see declaration of '__wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(315): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(312): error C2733: '_wcsicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(312): note: see declaration of '_wcsicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(328): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(324): error C2733: '_wcsnicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(324): note: see declaration of '_wcsnicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(343): error C2995: 'errno_t _wcsnset_s(wchar_t (&)[_Size],wchar_t,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(343): note: see declaration of '_wcsnset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(367): error C2995: 'errno_t _wcsset_s(wchar_t (&)[_Size],wchar_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(367): note: see declaration of '_wcsset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(384): error C2995: 'errno_t _wcslwr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(384): note: see declaration of '_wcslwr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(395): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(392): error C2733: '_wcslwr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(392): note: see declaration of '_wcslwr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(409): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(420): error C2995: 'errno_t _wcsupr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(420): note: see declaration of '_wcsupr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(431): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(428): error C2733: '_wcsupr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(428): note: see declaration of '_wcsupr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(445): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(461): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(474): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(487): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(502): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(517): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(533): error C2084: function 'wchar_t *wcschr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(532): note: see previous definition of 'wcschr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(539): error C2084: function 'wchar_t *wcspbrk(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(538): note: see previous definition of 'wcspbrk'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(545): error C2084: function 'wchar_t *wcsrchr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(544): note: see previous definition of 'wcsrchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(552): error C2084: function 'wchar_t *wcsstr(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(551): note: see previous definition of 'wcsstr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(82): error C2995: 'errno_t strcat_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(82): note: see declaration of 'strcat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(116): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(113): error C2733: '_strcoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(113): note: see declaration of '_strcoll_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(123): error C2995: 'errno_t strcpy_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(128): note: see declaration of 'strcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(169): error C2995: 'errno_t _strerror_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(174): note: see declaration of '_strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(181): error C2995: 'errno_t strerror_s(char (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(186): note: see declaration of 'strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(199): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(196): error C2733: '_stricoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(200): fatal error C1003: error count exceeds 100; stopping compilation
[13/254] CXX obj\media\crypto\crypto_unittest.subsample_generator_unittest.obj
ninja: build stopped: subcommand failed.
C:\Users\Abhay\Code\shaka_packager\src>ninja -C out/Release_x64
ninja: Entering directory `out/Release_x64'
[1/242] CXX obj\base\win\base.win_util.obj
FAILED: obj/base/win/base.win_util.obj
ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe" /nologo /showIncludes /FC @obj\base\win\base.win_util.obj.rsp /c ..\..\packager\base\win\win_util.cc /Foobj\base\win\base.win_util.obj /Fdobj\base\base.cc.pdb
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(128): error C2953: '_CrtEnableIf<true,_Ty>': class template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(125): note: see declaration of '_CrtEnableIf<true,_Ty>'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(483): error C2011: '__crt_locale_data_public': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(455): note: see declaration of '__crt_locale_data_public'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(490): error C2011: '__crt_locale_pointers': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(462): note: see declaration of '__crt_locale_pointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(498): error C2011: '_Mbstatet': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(470): note: see declaration of '_Mbstatet'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(79): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(80): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(94): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(95): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(175): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2377: '_locale_t': redefinition; typedef cannot be overloaded with any other symbol
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(467): note: see declaration of '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2146: syntax error: missing ';' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(29): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(31): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(36): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(38): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(43): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(45): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2143: syntax error: missing ',' before '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(51): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(53): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(55): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(63): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2733: '_tolower_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(64): note: see declaration of '_tolower_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(65): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2733: '_toupper_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(66): note: see declaration of '_toupper_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(68): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(69): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(70): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(71): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(145): error C2084: function '__crt_locale_data_public *__acrt_get_locale_data_prefix(volatile const void *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(144): note: see previous definition of '__acrt_get_locale_data_prefix'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2143: syntax error: missing ';' before 'const'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2146: syntax error: missing ';' before identifier '_LocalePointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): error C2227: left of '->locinfo' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): note: type is 'const int'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(157): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(154): error C2733: '_chvalidchk_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: see declaration of '_chvalidchk_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(165): error C2227: left of '->_locale_pctype' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(178): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(175): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(181): error C2227: left of '->_locale_mb_cur_max' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): error C2664: 'int _isctype_l(int,int,_locale_t)': cannot convert argument 3 from 'int' to '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): note: Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): error C2665: '_chvalidchk_l': none of the 2 overloads could convert all the argument types
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: could be 'int _chvalidchk_l(const int,const int,const _locale_t)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): note: while trying to match the argument list '(const int, const int, int)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(41): error C2084: function 'errno_t memcpy_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(35): note: see previous definition of 'memcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(70): error C2084: function 'errno_t memmove_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(64): note: see previous definition of 'memmove_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(35): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(31): error C2733: '_memicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(31): note: see declaration of '_memicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(105): error C2084: function 'void *memchr(void *,int,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(97): note: see previous definition of 'memchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(93): error C2995: 'errno_t wcscat_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(93): note: see declaration of 'wcscat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(115): error C2995: 'errno_t wcscpy_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(115): note: see declaration of 'wcscpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(163): error C2084: function 'size_t wcsnlen_s(const wchar_t *,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(159): note: see previous definition of 'wcsnlen_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(174): error C2995: 'errno_t wcsncat_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(174): note: see declaration of 'wcsncat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(196): error C2995: 'errno_t wcsncpy_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(196): note: see declaration of 'wcsncpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(244): error C2084: function 'wchar_t *_wcstok(wchar_t *const ,const wchar_t *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(240): note: see previous definition of '_wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(258): error C2084: function 'wchar_t *wcstok(wchar_t *,const wchar_t *) throw()' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(254): note: see previous definition of 'wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(286): error C2995: 'errno_t _wcserror_s(wchar_t (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(286): note: see declaration of '_wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(305): error C2995: 'errno_t __wcserror_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(305): note: see declaration of '__wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(315): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(312): error C2733: '_wcsicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(312): note: see declaration of '_wcsicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(328): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(324): error C2733: '_wcsnicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(324): note: see declaration of '_wcsnicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(343): error C2995: 'errno_t _wcsnset_s(wchar_t (&)[_Size],wchar_t,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(343): note: see declaration of '_wcsnset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(367): error C2995: 'errno_t _wcsset_s(wchar_t (&)[_Size],wchar_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(367): note: see declaration of '_wcsset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(384): error C2995: 'errno_t _wcslwr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(384): note: see declaration of '_wcslwr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(395): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(392): error C2733: '_wcslwr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(392): note: see declaration of '_wcslwr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(409): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(420): error C2995: 'errno_t _wcsupr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(420): note: see declaration of '_wcsupr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(431): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(428): error C2733: '_wcsupr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(428): note: see declaration of '_wcsupr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(445): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(461): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(474): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(487): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(502): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(517): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(533): error C2084: function 'wchar_t *wcschr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(532): note: see previous definition of 'wcschr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(539): error C2084: function 'wchar_t *wcspbrk(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(538): note: see previous definition of 'wcspbrk'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(545): error C2084: function 'wchar_t *wcsrchr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(544): note: see previous definition of 'wcsrchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(552): error C2084: function 'wchar_t *wcsstr(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(551): note: see previous definition of 'wcsstr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(82): error C2995: 'errno_t strcat_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(82): note: see declaration of 'strcat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(116): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(113): error C2733: '_strcoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(113): note: see declaration of '_strcoll_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(123): error C2995: 'errno_t strcpy_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(128): note: see declaration of 'strcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(169): error C2995: 'errno_t _strerror_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(174): note: see declaration of '_strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(181): error C2995: 'errno_t strerror_s(char (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(186): note: see declaration of 'strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(199): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(196): error C2733: '_stricoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(200): fatal error C1003: error count exceeds 100; stopping compilation
[10/242] CXX obj\media\event\media_event_unittest.multi_codec_muxer_listener_unittest.obj
ninja: build stopped: subcommand failed.
C:\Users\Abhay\Code\shaka_packager\src>ninja -C out/Release_x64
ninja: Entering directory `out/Release_x64'
[1/233] CXX obj\base\win\base.win_util.obj
FAILED: obj/base/win/base.win_util.obj
ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe" /nologo /showIncludes /FC @obj\base\win\base.win_util.obj.rsp /c ..\..\packager\base\win\win_util.cc /Foobj\base\win\base.win_util.obj /Fdobj\base\base.cc.pdb
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(128): error C2953: '_CrtEnableIf<true,_Ty>': class template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(125): note: see declaration of '_CrtEnableIf<true,_Ty>'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(483): error C2011: '__crt_locale_data_public': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(455): note: see declaration of '__crt_locale_data_public'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(490): error C2011: '__crt_locale_pointers': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(462): note: see declaration of '__crt_locale_pointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(498): error C2011: '_Mbstatet': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(470): note: see declaration of '_Mbstatet'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(79): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(80): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(94): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(95): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(175): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2377: '_locale_t': redefinition; typedef cannot be overloaded with any other symbol
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(467): note: see declaration of '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2146: syntax error: missing ';' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(29): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(31): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(36): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(38): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(43): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(45): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2143: syntax error: missing ',' before '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(51): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(53): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(55): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(63): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2733: '_tolower_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(64): note: see declaration of '_tolower_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(65): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2733: '_toupper_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(66): note: see declaration of '_toupper_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(68): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(69): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(70): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(71): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(145): error C2084: function '__crt_locale_data_public *__acrt_get_locale_data_prefix(volatile const void *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(144): note: see previous definition of '__acrt_get_locale_data_prefix'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2143: syntax error: missing ';' before 'const'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2146: syntax error: missing ';' before identifier '_LocalePointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): error C2227: left of '->locinfo' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): note: type is 'const int'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(157): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(154): error C2733: '_chvalidchk_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: see declaration of '_chvalidchk_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(165): error C2227: left of '->_locale_pctype' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(178): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(175): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(181): error C2227: left of '->_locale_mb_cur_max' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): error C2664: 'int _isctype_l(int,int,_locale_t)': cannot convert argument 3 from 'int' to '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): note: Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): error C2665: '_chvalidchk_l': none of the 2 overloads could convert all the argument types
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: could be 'int _chvalidchk_l(const int,const int,const _locale_t)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): note: while trying to match the argument list '(const int, const int, int)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(41): error C2084: function 'errno_t memcpy_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(35): note: see previous definition of 'memcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(70): error C2084: function 'errno_t memmove_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(64): note: see previous definition of 'memmove_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(35): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(31): error C2733: '_memicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(31): note: see declaration of '_memicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(105): error C2084: function 'void *memchr(void *,int,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(97): note: see previous definition of 'memchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(93): error C2995: 'errno_t wcscat_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(93): note: see declaration of 'wcscat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(115): error C2995: 'errno_t wcscpy_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(115): note: see declaration of 'wcscpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(163): error C2084: function 'size_t wcsnlen_s(const wchar_t *,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(159): note: see previous definition of 'wcsnlen_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(174): error C2995: 'errno_t wcsncat_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(174): note: see declaration of 'wcsncat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(196): error C2995: 'errno_t wcsncpy_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(196): note: see declaration of 'wcsncpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(244): error C2084: function 'wchar_t *_wcstok(wchar_t *const ,const wchar_t *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(240): note: see previous definition of '_wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(258): error C2084: function 'wchar_t *wcstok(wchar_t *,const wchar_t *) throw()' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(254): note: see previous definition of 'wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(286): error C2995: 'errno_t _wcserror_s(wchar_t (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(286): note: see declaration of '_wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(305): error C2995: 'errno_t __wcserror_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(305): note: see declaration of '__wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(315): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(312): error C2733: '_wcsicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(312): note: see declaration of '_wcsicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(328): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(324): error C2733: '_wcsnicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(324): note: see declaration of '_wcsnicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(343): error C2995: 'errno_t _wcsnset_s(wchar_t (&)[_Size],wchar_t,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(343): note: see declaration of '_wcsnset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(367): error C2995: 'errno_t _wcsset_s(wchar_t (&)[_Size],wchar_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(367): note: see declaration of '_wcsset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(384): error C2995: 'errno_t _wcslwr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(384): note: see declaration of '_wcslwr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(395): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(392): error C2733: '_wcslwr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(392): note: see declaration of '_wcslwr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(409): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(420): error C2995: 'errno_t _wcsupr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(420): note: see declaration of '_wcsupr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(431): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(428): error C2733: '_wcsupr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(428): note: see declaration of '_wcsupr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(445): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(461): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(474): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(487): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(502): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(517): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(533): error C2084: function 'wchar_t *wcschr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(532): note: see previous definition of 'wcschr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(539): error C2084: function 'wchar_t *wcspbrk(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(538): note: see previous definition of 'wcspbrk'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(545): error C2084: function 'wchar_t *wcsrchr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(544): note: see previous definition of 'wcsrchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(552): error C2084: function 'wchar_t *wcsstr(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(551): note: see previous definition of 'wcsstr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(82): error C2995: 'errno_t strcat_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(82): note: see declaration of 'strcat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(116): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(113): error C2733: '_strcoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(113): note: see declaration of '_strcoll_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(123): error C2995: 'errno_t strcpy_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(128): note: see declaration of 'strcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(169): error C2995: 'errno_t _strerror_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(174): note: see declaration of '_strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(181): error C2995: 'errno_t strerror_s(char (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(186): note: see declaration of 'strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(199): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(196): error C2733: '_stricoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(200): fatal error C1003: error count exceeds 100; stopping compilation
[10/233] CXX obj\media\codecs\codecs_unittest.vp9_parser_unittest.obj
ninja: build stopped: subcommand failed.
C:\Users\Abhay\Code\shaka_packager\src>ninja -C out/Release_x64
ninja: Entering directory `out/Release_x64'
[1/224] CXX obj\base\win\base.win_util.obj
FAILED: obj/base/win/base.win_util.obj
ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe" /nologo /showIncludes /FC @obj\base\win\base.win_util.obj.rsp /c ..\..\packager\base\win\win_util.cc /Foobj\base\win\base.win_util.obj /Fdobj\base\base.cc.pdb
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(128): error C2953: '_CrtEnableIf<true,_Ty>': class template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(125): note: see declaration of '_CrtEnableIf<true,_Ty>'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(483): error C2011: '__crt_locale_data_public': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(455): note: see declaration of '__crt_locale_data_public'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(490): error C2011: '__crt_locale_pointers': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(462): note: see declaration of '__crt_locale_pointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(498): error C2011: '_Mbstatet': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(470): note: see declaration of '_Mbstatet'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(79): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(80): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(94): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(95): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(175): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2377: '_locale_t': redefinition; typedef cannot be overloaded with any other symbol
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(467): note: see declaration of '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2146: syntax error: missing ';' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(29): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(31): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(36): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(38): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(43): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(45): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2143: syntax error: missing ',' before '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(51): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(53): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(55): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(63): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2733: '_tolower_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(64): note: see declaration of '_tolower_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(65): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2733: '_toupper_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(66): note: see declaration of '_toupper_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(68): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(69): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(70): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(71): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(145): error C2084: function '__crt_locale_data_public *__acrt_get_locale_data_prefix(volatile const void *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(144): note: see previous definition of '__acrt_get_locale_data_prefix'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2143: syntax error: missing ';' before 'const'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2146: syntax error: missing ';' before identifier '_LocalePointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): error C2227: left of '->locinfo' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): note: type is 'const int'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(157): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(154): error C2733: '_chvalidchk_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: see declaration of '_chvalidchk_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(165): error C2227: left of '->_locale_pctype' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(178): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(175): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(181): error C2227: left of '->_locale_mb_cur_max' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): error C2664: 'int _isctype_l(int,int,_locale_t)': cannot convert argument 3 from 'int' to '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): note: Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): error C2665: '_chvalidchk_l': none of the 2 overloads could convert all the argument types
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: could be 'int _chvalidchk_l(const int,const int,const _locale_t)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): note: while trying to match the argument list '(const int, const int, int)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(41): error C2084: function 'errno_t memcpy_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(35): note: see previous definition of 'memcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(70): error C2084: function 'errno_t memmove_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(64): note: see previous definition of 'memmove_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(35): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(31): error C2733: '_memicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(31): note: see declaration of '_memicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(105): error C2084: function 'void *memchr(void *,int,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(97): note: see previous definition of 'memchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(93): error C2995: 'errno_t wcscat_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(93): note: see declaration of 'wcscat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(115): error C2995: 'errno_t wcscpy_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(115): note: see declaration of 'wcscpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(163): error C2084: function 'size_t wcsnlen_s(const wchar_t *,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(159): note: see previous definition of 'wcsnlen_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(174): error C2995: 'errno_t wcsncat_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(174): note: see declaration of 'wcsncat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(196): error C2995: 'errno_t wcsncpy_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(196): note: see declaration of 'wcsncpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(244): error C2084: function 'wchar_t *_wcstok(wchar_t *const ,const wchar_t *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(240): note: see previous definition of '_wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(258): error C2084: function 'wchar_t *wcstok(wchar_t *,const wchar_t *) throw()' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(254): note: see previous definition of 'wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(286): error C2995: 'errno_t _wcserror_s(wchar_t (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(286): note: see declaration of '_wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(305): error C2995: 'errno_t __wcserror_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(305): note: see declaration of '__wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(315): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(312): error C2733: '_wcsicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(312): note: see declaration of '_wcsicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(328): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(324): error C2733: '_wcsnicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(324): note: see declaration of '_wcsnicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(343): error C2995: 'errno_t _wcsnset_s(wchar_t (&)[_Size],wchar_t,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(343): note: see declaration of '_wcsnset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(367): error C2995: 'errno_t _wcsset_s(wchar_t (&)[_Size],wchar_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(367): note: see declaration of '_wcsset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(384): error C2995: 'errno_t _wcslwr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(384): note: see declaration of '_wcslwr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(395): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(392): error C2733: '_wcslwr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(392): note: see declaration of '_wcslwr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(409): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(420): error C2995: 'errno_t _wcsupr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(420): note: see declaration of '_wcsupr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(431): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(428): error C2733: '_wcsupr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(428): note: see declaration of '_wcsupr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(445): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(461): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(474): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(487): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(502): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(517): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(533): error C2084: function 'wchar_t *wcschr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(532): note: see previous definition of 'wcschr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(539): error C2084: function 'wchar_t *wcspbrk(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(538): note: see previous definition of 'wcspbrk'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(545): error C2084: function 'wchar_t *wcsrchr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(544): note: see previous definition of 'wcsrchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(552): error C2084: function 'wchar_t *wcsstr(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(551): note: see previous definition of 'wcsstr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(82): error C2995: 'errno_t strcat_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(82): note: see declaration of 'strcat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(116): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(113): error C2733: '_strcoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(113): note: see declaration of '_strcoll_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(123): error C2995: 'errno_t strcpy_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(128): note: see declaration of 'strcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(169): error C2995: 'errno_t _strerror_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(174): note: see declaration of '_strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(181): error C2995: 'errno_t strerror_s(char (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(186): note: see declaration of 'strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(199): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(196): error C2733: '_stricoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(200): fatal error C1003: error count exceeds 100; stopping compilation
[10/224] CXX obj\media\event\media_event_unittest.hls_notify_muxer_listener_unittest.obj
ninja: build stopped: subcommand failed.
C:\Users\Abhay\Code\shaka_packager\src>ninja -C out/Release_x64
ninja: Entering directory `out/Release_x64'
[2/215] CXX obj\base\win\base.win_util.obj
FAILED: obj/base/win/base.win_util.obj
ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe" /nologo /showIncludes /FC @obj\base\win\base.win_util.obj.rsp /c ..\..\packager\base\win\win_util.cc /Foobj\base\win\base.win_util.obj /Fdobj\base\base.cc.pdb
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(128): error C2953: '_CrtEnableIf<true,_Ty>': class template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(125): note: see declaration of '_CrtEnableIf<true,_Ty>'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(483): error C2011: '__crt_locale_data_public': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(455): note: see declaration of '__crt_locale_data_public'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(490): error C2011: '__crt_locale_pointers': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(462): note: see declaration of '__crt_locale_pointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(498): error C2011: '_Mbstatet': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(470): note: see declaration of '_Mbstatet'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(79): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(80): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(94): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(95): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(175): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2377: '_locale_t': redefinition; typedef cannot be overloaded with any other symbol
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(467): note: see declaration of '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2146: syntax error: missing ';' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(29): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(31): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(36): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(38): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(43): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(45): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2143: syntax error: missing ',' before '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(51): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(53): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(55): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(63): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2733: '_tolower_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(64): note: see declaration of '_tolower_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(65): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2733: '_toupper_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(66): note: see declaration of '_toupper_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(68): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(69): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(70): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(71): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(145): error C2084: function '__crt_locale_data_public *__acrt_get_locale_data_prefix(volatile const void *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(144): note: see previous definition of '__acrt_get_locale_data_prefix'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2143: syntax error: missing ';' before 'const'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2146: syntax error: missing ';' before identifier '_LocalePointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): error C2227: left of '->locinfo' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): note: type is 'const int'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(157): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(154): error C2733: '_chvalidchk_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: see declaration of '_chvalidchk_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(165): error C2227: left of '->_locale_pctype' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(178): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(175): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(181): error C2227: left of '->_locale_mb_cur_max' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): error C2664: 'int _isctype_l(int,int,_locale_t)': cannot convert argument 3 from 'int' to '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): note: Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): error C2665: '_chvalidchk_l': none of the 2 overloads could convert all the argument types
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: could be 'int _chvalidchk_l(const int,const int,const _locale_t)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): note: while trying to match the argument list '(const int, const int, int)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(41): error C2084: function 'errno_t memcpy_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(35): note: see previous definition of 'memcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(70): error C2084: function 'errno_t memmove_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(64): note: see previous definition of 'memmove_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(35): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(31): error C2733: '_memicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(31): note: see declaration of '_memicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(105): error C2084: function 'void *memchr(void *,int,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(97): note: see previous definition of 'memchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(93): error C2995: 'errno_t wcscat_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(93): note: see declaration of 'wcscat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(115): error C2995: 'errno_t wcscpy_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(115): note: see declaration of 'wcscpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(163): error C2084: function 'size_t wcsnlen_s(const wchar_t *,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(159): note: see previous definition of 'wcsnlen_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(174): error C2995: 'errno_t wcsncat_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(174): note: see declaration of 'wcsncat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(196): error C2995: 'errno_t wcsncpy_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(196): note: see declaration of 'wcsncpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(244): error C2084: function 'wchar_t *_wcstok(wchar_t *const ,const wchar_t *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(240): note: see previous definition of '_wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(258): error C2084: function 'wchar_t *wcstok(wchar_t *,const wchar_t *) throw()' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(254): note: see previous definition of 'wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(286): error C2995: 'errno_t _wcserror_s(wchar_t (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(286): note: see declaration of '_wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(305): error C2995: 'errno_t __wcserror_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(305): note: see declaration of '__wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(315): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(312): error C2733: '_wcsicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(312): note: see declaration of '_wcsicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(328): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(324): error C2733: '_wcsnicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(324): note: see declaration of '_wcsnicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(343): error C2995: 'errno_t _wcsnset_s(wchar_t (&)[_Size],wchar_t,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(343): note: see declaration of '_wcsnset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(367): error C2995: 'errno_t _wcsset_s(wchar_t (&)[_Size],wchar_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(367): note: see declaration of '_wcsset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(384): error C2995: 'errno_t _wcslwr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(384): note: see declaration of '_wcslwr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(395): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(392): error C2733: '_wcslwr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(392): note: see declaration of '_wcslwr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(409): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(420): error C2995: 'errno_t _wcsupr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(420): note: see declaration of '_wcsupr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(431): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(428): error C2733: '_wcsupr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(428): note: see declaration of '_wcsupr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(445): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(461): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(474): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(487): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(502): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(517): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(533): error C2084: function 'wchar_t *wcschr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(532): note: see previous definition of 'wcschr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(539): error C2084: function 'wchar_t *wcspbrk(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(538): note: see previous definition of 'wcspbrk'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(545): error C2084: function 'wchar_t *wcsrchr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(544): note: see previous definition of 'wcsrchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(552): error C2084: function 'wchar_t *wcsstr(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(551): note: see previous definition of 'wcsstr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(82): error C2995: 'errno_t strcat_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(82): note: see declaration of 'strcat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(116): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(113): error C2733: '_strcoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(113): note: see declaration of '_strcoll_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(123): error C2995: 'errno_t strcpy_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(128): note: see declaration of 'strcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(169): error C2995: 'errno_t _strerror_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(174): note: see declaration of '_strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(181): error C2995: 'errno_t strerror_s(char (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(186): note: see declaration of 'strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(199): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(196): error C2733: '_stricoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(200): fatal error C1003: error count exceeds 100; stopping compilation
[11/215] CXX obj\mpd\base\mpd_mocks.mock_mpd_builder.obj
ninja: build stopped: subcommand failed.
C:\Users\Abhay\Code\shaka_packager\src>ninja -C out/Release_x64
ninja: Entering directory `out/Release_x64'
[5/205] CXX obj\base\win\base.win_util.obj
FAILED: obj/base/win/base.win_util.obj
ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe" /nologo /showIncludes /FC @obj\base\win\base.win_util.obj.rsp /c ..\..\packager\base\win\win_util.cc /Foobj\base\win\base.win_util.obj /Fdobj\base\base.cc.pdb
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(128): error C2953: '_CrtEnableIf<true,_Ty>': class template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(125): note: see declaration of '_CrtEnableIf<true,_Ty>'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(483): error C2011: '__crt_locale_data_public': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(455): note: see declaration of '__crt_locale_data_public'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(490): error C2011: '__crt_locale_pointers': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(462): note: see declaration of '__crt_locale_pointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(498): error C2011: '_Mbstatet': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(470): note: see declaration of '_Mbstatet'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(79): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(80): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(94): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(95): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(175): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2377: '_locale_t': redefinition; typedef cannot be overloaded with any other symbol
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(467): note: see declaration of '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2146: syntax error: missing ';' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(29): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(31): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(36): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(38): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(43): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(45): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2143: syntax error: missing ',' before '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(51): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(53): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(55): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(63): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2733: '_tolower_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(64): note: see declaration of '_tolower_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(65): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2733: '_toupper_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(66): note: see declaration of '_toupper_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(68): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(69): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(70): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(71): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(145): error C2084: function '__crt_locale_data_public *__acrt_get_locale_data_prefix(volatile const void *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(144): note: see previous definition of '__acrt_get_locale_data_prefix'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2143: syntax error: missing ';' before 'const'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2146: syntax error: missing ';' before identifier '_LocalePointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): error C2227: left of '->locinfo' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): note: type is 'const int'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(157): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(154): error C2733: '_chvalidchk_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: see declaration of '_chvalidchk_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(165): error C2227: left of '->_locale_pctype' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(178): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(175): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(181): error C2227: left of '->_locale_mb_cur_max' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): error C2664: 'int _isctype_l(int,int,_locale_t)': cannot convert argument 3 from 'int' to '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): note: Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): error C2665: '_chvalidchk_l': none of the 2 overloads could convert all the argument types
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: could be 'int _chvalidchk_l(const int,const int,const _locale_t)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): note: while trying to match the argument list '(const int, const int, int)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(41): error C2084: function 'errno_t memcpy_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(35): note: see previous definition of 'memcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(70): error C2084: function 'errno_t memmove_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(64): note: see previous definition of 'memmove_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(35): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(31): error C2733: '_memicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(31): note: see declaration of '_memicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(105): error C2084: function 'void *memchr(void *,int,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(97): note: see previous definition of 'memchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(93): error C2995: 'errno_t wcscat_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(93): note: see declaration of 'wcscat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(115): error C2995: 'errno_t wcscpy_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(115): note: see declaration of 'wcscpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(163): error C2084: function 'size_t wcsnlen_s(const wchar_t *,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(159): note: see previous definition of 'wcsnlen_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(174): error C2995: 'errno_t wcsncat_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(174): note: see declaration of 'wcsncat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(196): error C2995: 'errno_t wcsncpy_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(196): note: see declaration of 'wcsncpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(244): error C2084: function 'wchar_t *_wcstok(wchar_t *const ,const wchar_t *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(240): note: see previous definition of '_wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(258): error C2084: function 'wchar_t *wcstok(wchar_t *,const wchar_t *) throw()' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(254): note: see previous definition of 'wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(286): error C2995: 'errno_t _wcserror_s(wchar_t (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(286): note: see declaration of '_wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(305): error C2995: 'errno_t __wcserror_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(305): note: see declaration of '__wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(315): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(312): error C2733: '_wcsicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(312): note: see declaration of '_wcsicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(328): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(324): error C2733: '_wcsnicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(324): note: see declaration of '_wcsnicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(343): error C2995: 'errno_t _wcsnset_s(wchar_t (&)[_Size],wchar_t,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(343): note: see declaration of '_wcsnset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(367): error C2995: 'errno_t _wcsset_s(wchar_t (&)[_Size],wchar_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(367): note: see declaration of '_wcsset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(384): error C2995: 'errno_t _wcslwr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(384): note: see declaration of '_wcslwr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(395): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(392): error C2733: '_wcslwr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(392): note: see declaration of '_wcslwr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(409): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(420): error C2995: 'errno_t _wcsupr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(420): note: see declaration of '_wcsupr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(431): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(428): error C2733: '_wcsupr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(428): note: see declaration of '_wcsupr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(445): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(461): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(474): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(487): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(502): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(517): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(533): error C2084: function 'wchar_t *wcschr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(532): note: see previous definition of 'wcschr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(539): error C2084: function 'wchar_t *wcspbrk(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(538): note: see previous definition of 'wcspbrk'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(545): error C2084: function 'wchar_t *wcsrchr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(544): note: see previous definition of 'wcsrchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(552): error C2084: function 'wchar_t *wcsstr(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(551): note: see previous definition of 'wcsstr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(82): error C2995: 'errno_t strcat_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(82): note: see declaration of 'strcat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(116): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(113): error C2733: '_strcoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(113): note: see declaration of '_strcoll_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(123): error C2995: 'errno_t strcpy_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(128): note: see declaration of 'strcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(169): error C2995: 'errno_t _strerror_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(174): note: see declaration of '_strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(181): error C2995: 'errno_t strerror_s(char (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(186): note: see declaration of 'strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(199): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(196): error C2733: '_stricoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(200): fatal error C1003: error count exceeds 100; stopping compilation
[14/205] CXX obj\media\formats\mp4\mp4.mp4_muxer.obj
ninja: build stopped: subcommand failed.
C:\Users\Abhay\Code\shaka_packager\src>ninja -C out/Release_x64
ninja: Entering directory `out/Release_x64'
[3/192] CXX obj\base\win\base.win_util.obj
FAILED: obj/base/win/base.win_util.obj
ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe" /nologo /showIncludes /FC @obj\base\win\base.win_util.obj.rsp /c ..\..\packager\base\win\win_util.cc /Foobj\base\win\base.win_util.obj /Fdobj\base\base.cc.pdb
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(128): error C2953: '_CrtEnableIf<true,_Ty>': class template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(125): note: see declaration of '_CrtEnableIf<true,_Ty>'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(483): error C2011: '__crt_locale_data_public': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(455): note: see declaration of '__crt_locale_data_public'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(490): error C2011: '__crt_locale_pointers': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(462): note: see declaration of '__crt_locale_pointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(498): error C2011: '_Mbstatet': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(470): note: see declaration of '_Mbstatet'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(79): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(80): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(94): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(95): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(175): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2377: '_locale_t': redefinition; typedef cannot be overloaded with any other symbol
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(467): note: see declaration of '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2146: syntax error: missing ';' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(29): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(31): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(36): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(38): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(43): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(45): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2143: syntax error: missing ',' before '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(51): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(53): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(55): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(63): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2733: '_tolower_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(64): note: see declaration of '_tolower_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(65): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2733: '_toupper_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(66): note: see declaration of '_toupper_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(68): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(69): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(70): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(71): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(145): error C2084: function '__crt_locale_data_public *__acrt_get_locale_data_prefix(volatile const void *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(144): note: see previous definition of '__acrt_get_locale_data_prefix'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2143: syntax error: missing ';' before 'const'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2146: syntax error: missing ';' before identifier '_LocalePointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): error C2227: left of '->locinfo' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): note: type is 'const int'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(157): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(154): error C2733: '_chvalidchk_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: see declaration of '_chvalidchk_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(165): error C2227: left of '->_locale_pctype' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(178): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(175): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(181): error C2227: left of '->_locale_mb_cur_max' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): error C2664: 'int _isctype_l(int,int,_locale_t)': cannot convert argument 3 from 'int' to '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): note: Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): error C2665: '_chvalidchk_l': none of the 2 overloads could convert all the argument types
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: could be 'int _chvalidchk_l(const int,const int,const _locale_t)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): note: while trying to match the argument list '(const int, const int, int)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(41): error C2084: function 'errno_t memcpy_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(35): note: see previous definition of 'memcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(70): error C2084: function 'errno_t memmove_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(64): note: see previous definition of 'memmove_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(35): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(31): error C2733: '_memicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(31): note: see declaration of '_memicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(105): error C2084: function 'void *memchr(void *,int,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(97): note: see previous definition of 'memchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(93): error C2995: 'errno_t wcscat_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(93): note: see declaration of 'wcscat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(115): error C2995: 'errno_t wcscpy_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(115): note: see declaration of 'wcscpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(163): error C2084: function 'size_t wcsnlen_s(const wchar_t *,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(159): note: see previous definition of 'wcsnlen_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(174): error C2995: 'errno_t wcsncat_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(174): note: see declaration of 'wcsncat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(196): error C2995: 'errno_t wcsncpy_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(196): note: see declaration of 'wcsncpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(244): error C2084: function 'wchar_t *_wcstok(wchar_t *const ,const wchar_t *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(240): note: see previous definition of '_wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(258): error C2084: function 'wchar_t *wcstok(wchar_t *,const wchar_t *) throw()' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(254): note: see previous definition of 'wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(286): error C2995: 'errno_t _wcserror_s(wchar_t (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(286): note: see declaration of '_wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(305): error C2995: 'errno_t __wcserror_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(305): note: see declaration of '__wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(315): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(312): error C2733: '_wcsicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(312): note: see declaration of '_wcsicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(328): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(324): error C2733: '_wcsnicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(324): note: see declaration of '_wcsnicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(343): error C2995: 'errno_t _wcsnset_s(wchar_t (&)[_Size],wchar_t,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(343): note: see declaration of '_wcsnset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(367): error C2995: 'errno_t _wcsset_s(wchar_t (&)[_Size],wchar_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(367): note: see declaration of '_wcsset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(384): error C2995: 'errno_t _wcslwr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(384): note: see declaration of '_wcslwr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(395): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(392): error C2733: '_wcslwr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(392): note: see declaration of '_wcslwr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(409): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(420): error C2995: 'errno_t _wcsupr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(420): note: see declaration of '_wcsupr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(431): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(428): error C2733: '_wcsupr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(428): note: see declaration of '_wcsupr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(445): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(461): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(474): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(487): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(502): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(517): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(533): error C2084: function 'wchar_t *wcschr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(532): note: see previous definition of 'wcschr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(539): error C2084: function 'wchar_t *wcspbrk(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(538): note: see previous definition of 'wcspbrk'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(545): error C2084: function 'wchar_t *wcsrchr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(544): note: see previous definition of 'wcsrchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(552): error C2084: function 'wchar_t *wcsstr(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(551): note: see previous definition of 'wcsstr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(82): error C2995: 'errno_t strcat_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(82): note: see declaration of 'strcat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(116): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(113): error C2733: '_strcoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(113): note: see declaration of '_strcoll_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(123): error C2995: 'errno_t strcpy_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(128): note: see declaration of 'strcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(169): error C2995: 'errno_t _strerror_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(174): note: see declaration of '_strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(181): error C2995: 'errno_t strerror_s(char (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(186): note: see declaration of 'strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(199): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(196): error C2733: '_stricoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(200): fatal error C1003: error count exceeds 100; stopping compilation
[12/192] CXX obj\mpd\base\mpd_unittest.representation_unittest.obj
ninja: build stopped: subcommand failed.
C:\Users\Abhay\Code\shaka_packager\src>ninja -C out/Release_x64
ninja: Entering directory `out/Release_x64'
[1/181] CXX obj\base\win\base.win_util.obj
FAILED: obj/base/win/base.win_util.obj
ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe" /nologo /showIncludes /FC @obj\base\win\base.win_util.obj.rsp /c ..\..\packager\base\win\win_util.cc /Foobj\base\win\base.win_util.obj /Fdobj\base\base.cc.pdb
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(128): error C2953: '_CrtEnableIf<true,_Ty>': class template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(125): note: see declaration of '_CrtEnableIf<true,_Ty>'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(483): error C2011: '__crt_locale_data_public': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(455): note: see declaration of '__crt_locale_data_public'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(490): error C2011: '__crt_locale_pointers': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(462): note: see declaration of '__crt_locale_pointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(498): error C2011: '_Mbstatet': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(470): note: see declaration of '_Mbstatet'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(79): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(80): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(94): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(95): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(175): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2377: '_locale_t': redefinition; typedef cannot be overloaded with any other symbol
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(467): note: see declaration of '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2146: syntax error: missing ';' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(29): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(31): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(36): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(38): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(43): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(45): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2143: syntax error: missing ',' before '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(51): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(53): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(55): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(63): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2733: '_tolower_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(64): note: see declaration of '_tolower_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(65): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2733: '_toupper_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(66): note: see declaration of '_toupper_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(68): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(69): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(70): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(71): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(145): error C2084: function '__crt_locale_data_public *__acrt_get_locale_data_prefix(volatile const void *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(144): note: see previous definition of '__acrt_get_locale_data_prefix'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2143: syntax error: missing ';' before 'const'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2146: syntax error: missing ';' before identifier '_LocalePointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): error C2227: left of '->locinfo' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): note: type is 'const int'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(157): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(154): error C2733: '_chvalidchk_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: see declaration of '_chvalidchk_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(165): error C2227: left of '->_locale_pctype' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(178): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(175): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(181): error C2227: left of '->_locale_mb_cur_max' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): error C2664: 'int _isctype_l(int,int,_locale_t)': cannot convert argument 3 from 'int' to '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): note: Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): error C2665: '_chvalidchk_l': none of the 2 overloads could convert all the argument types
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: could be 'int _chvalidchk_l(const int,const int,const _locale_t)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): note: while trying to match the argument list '(const int, const int, int)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(41): error C2084: function 'errno_t memcpy_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(35): note: see previous definition of 'memcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(70): error C2084: function 'errno_t memmove_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(64): note: see previous definition of 'memmove_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(35): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(31): error C2733: '_memicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(31): note: see declaration of '_memicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(105): error C2084: function 'void *memchr(void *,int,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(97): note: see previous definition of 'memchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(93): error C2995: 'errno_t wcscat_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(93): note: see declaration of 'wcscat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(115): error C2995: 'errno_t wcscpy_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(115): note: see declaration of 'wcscpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(163): error C2084: function 'size_t wcsnlen_s(const wchar_t *,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(159): note: see previous definition of 'wcsnlen_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(174): error C2995: 'errno_t wcsncat_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(174): note: see declaration of 'wcsncat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(196): error C2995: 'errno_t wcsncpy_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(196): note: see declaration of 'wcsncpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(244): error C2084: function 'wchar_t *_wcstok(wchar_t *const ,const wchar_t *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(240): note: see previous definition of '_wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(258): error C2084: function 'wchar_t *wcstok(wchar_t *,const wchar_t *) throw()' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(254): note: see previous definition of 'wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(286): error C2995: 'errno_t _wcserror_s(wchar_t (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(286): note: see declaration of '_wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(305): error C2995: 'errno_t __wcserror_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(305): note: see declaration of '__wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(315): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(312): error C2733: '_wcsicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(312): note: see declaration of '_wcsicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(328): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(324): error C2733: '_wcsnicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(324): note: see declaration of '_wcsnicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(343): error C2995: 'errno_t _wcsnset_s(wchar_t (&)[_Size],wchar_t,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(343): note: see declaration of '_wcsnset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(367): error C2995: 'errno_t _wcsset_s(wchar_t (&)[_Size],wchar_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(367): note: see declaration of '_wcsset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(384): error C2995: 'errno_t _wcslwr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(384): note: see declaration of '_wcslwr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(395): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(392): error C2733: '_wcslwr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(392): note: see declaration of '_wcslwr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(409): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(420): error C2995: 'errno_t _wcsupr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(420): note: see declaration of '_wcsupr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(431): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(428): error C2733: '_wcsupr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(428): note: see declaration of '_wcsupr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(445): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(461): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(474): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(487): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(502): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(517): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(533): error C2084: function 'wchar_t *wcschr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(532): note: see previous definition of 'wcschr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(539): error C2084: function 'wchar_t *wcspbrk(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(538): note: see previous definition of 'wcspbrk'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(545): error C2084: function 'wchar_t *wcsrchr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(544): note: see previous definition of 'wcsrchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(552): error C2084: function 'wchar_t *wcsstr(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(551): note: see previous definition of 'wcsstr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(82): error C2995: 'errno_t strcat_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(82): note: see declaration of 'strcat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(116): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(113): error C2733: '_strcoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(113): note: see declaration of '_strcoll_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(123): error C2995: 'errno_t strcpy_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(128): note: see declaration of 'strcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(169): error C2995: 'errno_t _strerror_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(174): note: see declaration of '_strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(181): error C2995: 'errno_t strerror_s(char (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(186): note: see declaration of 'strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(199): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(196): error C2733: '_stricoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(200): fatal error C1003: error count exceeds 100; stopping compilation
[10/181] CXX obj\mpd\base\mpd_unittest.period_unittest.obj
ninja: build stopped: subcommand failed.
C:\Users\Abhay\Code\shaka_packager\src>ninja -C out/Release_x64
ninja: Entering directory `out/Release_x64'
[1/172] CXX obj\base\win\base.win_util.obj
FAILED: obj/base/win/base.win_util.obj
ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe" /nologo /showIncludes /FC @obj\base\win\base.win_util.obj.rsp /c ..\..\packager\base\win\win_util.cc /Foobj\base\win\base.win_util.obj /Fdobj\base\base.cc.pdb
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(128): error C2953: '_CrtEnableIf<true,_Ty>': class template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(125): note: see declaration of '_CrtEnableIf<true,_Ty>'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(483): error C2011: '__crt_locale_data_public': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(455): note: see declaration of '__crt_locale_data_public'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(490): error C2011: '__crt_locale_pointers': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(462): note: see declaration of '__crt_locale_pointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(498): error C2011: '_Mbstatet': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(470): note: see declaration of '_Mbstatet'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(79): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(80): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(94): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(95): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(175): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2377: '_locale_t': redefinition; typedef cannot be overloaded with any other symbol
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(467): note: see declaration of '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2146: syntax error: missing ';' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(29): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(31): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(36): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(38): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(43): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(45): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2143: syntax error: missing ',' before '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(51): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(53): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(55): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(63): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2733: '_tolower_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(64): note: see declaration of '_tolower_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(65): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2733: '_toupper_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(66): note: see declaration of '_toupper_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(68): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(69): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(70): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(71): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(145): error C2084: function '__crt_locale_data_public *__acrt_get_locale_data_prefix(volatile const void *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(144): note: see previous definition of '__acrt_get_locale_data_prefix'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2143: syntax error: missing ';' before 'const'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2146: syntax error: missing ';' before identifier '_LocalePointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): error C2227: left of '->locinfo' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): note: type is 'const int'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(157): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(154): error C2733: '_chvalidchk_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: see declaration of '_chvalidchk_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(165): error C2227: left of '->_locale_pctype' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(178): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(175): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(181): error C2227: left of '->_locale_mb_cur_max' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): error C2664: 'int _isctype_l(int,int,_locale_t)': cannot convert argument 3 from 'int' to '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): note: Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): error C2665: '_chvalidchk_l': none of the 2 overloads could convert all the argument types
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: could be 'int _chvalidchk_l(const int,const int,const _locale_t)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): note: while trying to match the argument list '(const int, const int, int)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(41): error C2084: function 'errno_t memcpy_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(35): note: see previous definition of 'memcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(70): error C2084: function 'errno_t memmove_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(64): note: see previous definition of 'memmove_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(35): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(31): error C2733: '_memicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(31): note: see declaration of '_memicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(105): error C2084: function 'void *memchr(void *,int,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(97): note: see previous definition of 'memchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(93): error C2995: 'errno_t wcscat_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(93): note: see declaration of 'wcscat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(115): error C2995: 'errno_t wcscpy_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(115): note: see declaration of 'wcscpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(163): error C2084: function 'size_t wcsnlen_s(const wchar_t *,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(159): note: see previous definition of 'wcsnlen_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(174): error C2995: 'errno_t wcsncat_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(174): note: see declaration of 'wcsncat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(196): error C2995: 'errno_t wcsncpy_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(196): note: see declaration of 'wcsncpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(244): error C2084: function 'wchar_t *_wcstok(wchar_t *const ,const wchar_t *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(240): note: see previous definition of '_wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(258): error C2084: function 'wchar_t *wcstok(wchar_t *,const wchar_t *) throw()' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(254): note: see previous definition of 'wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(286): error C2995: 'errno_t _wcserror_s(wchar_t (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(286): note: see declaration of '_wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(305): error C2995: 'errno_t __wcserror_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(305): note: see declaration of '__wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(315): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(312): error C2733: '_wcsicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(312): note: see declaration of '_wcsicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(328): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(324): error C2733: '_wcsnicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(324): note: see declaration of '_wcsnicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(343): error C2995: 'errno_t _wcsnset_s(wchar_t (&)[_Size],wchar_t,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(343): note: see declaration of '_wcsnset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(367): error C2995: 'errno_t _wcsset_s(wchar_t (&)[_Size],wchar_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(367): note: see declaration of '_wcsset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(384): error C2995: 'errno_t _wcslwr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(384): note: see declaration of '_wcslwr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(395): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(392): error C2733: '_wcslwr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(392): note: see declaration of '_wcslwr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(409): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(420): error C2995: 'errno_t _wcsupr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(420): note: see declaration of '_wcsupr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(431): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(428): error C2733: '_wcsupr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(428): note: see declaration of '_wcsupr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(445): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(461): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(474): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(487): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(502): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(517): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(533): error C2084: function 'wchar_t *wcschr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(532): note: see previous definition of 'wcschr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(539): error C2084: function 'wchar_t *wcspbrk(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(538): note: see previous definition of 'wcspbrk'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(545): error C2084: function 'wchar_t *wcsrchr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(544): note: see previous definition of 'wcsrchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(552): error C2084: function 'wchar_t *wcsstr(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(551): note: see previous definition of 'wcsstr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(82): error C2995: 'errno_t strcat_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(82): note: see declaration of 'strcat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(116): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(113): error C2733: '_strcoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(113): note: see declaration of '_strcoll_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(123): error C2995: 'errno_t strcpy_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(128): note: see declaration of 'strcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(169): error C2995: 'errno_t _strerror_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(174): note: see declaration of '_strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(181): error C2995: 'errno_t strerror_s(char (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(186): note: see declaration of 'strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(199): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(196): error C2733: '_stricoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(200): fatal error C1003: error count exceeds 100; stopping compilation
[10/172] CXX obj\media\formats\mp4\mp4.box_definitions.obj
ninja: build stopped: subcommand failed.
C:\Users\Abhay\Code\shaka_packager\src>ninja -C out/Release_x64
ninja: Entering directory `out/Release_x64'
[1/163] CXX obj\base\win\base.win_util.obj
FAILED: obj/base/win/base.win_util.obj
ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe" /nologo /showIncludes /FC @obj\base\win\base.win_util.obj.rsp /c ..\..\packager\base\win\win_util.cc /Foobj\base\win\base.win_util.obj /Fdobj\base\base.cc.pdb
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(128): error C2953: '_CrtEnableIf<true,_Ty>': class template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(125): note: see declaration of '_CrtEnableIf<true,_Ty>'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(483): error C2011: '__crt_locale_data_public': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(455): note: see declaration of '__crt_locale_data_public'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(490): error C2011: '__crt_locale_pointers': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(462): note: see declaration of '__crt_locale_pointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(498): error C2011: '_Mbstatet': 'struct' type redefinition
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(470): note: see declaration of '_Mbstatet'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(79): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(80): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(94): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wctype.h(95): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(175): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2377: '_locale_t': redefinition; typedef cannot be overloaded with any other symbol
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(467): note: see declaration of '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2146: syntax error: missing ';' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(29): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(31): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(36): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(38): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(43): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(45): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C2059: syntax error: ')'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(47): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2143: syntax error: missing ',' before '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(49): error C2059: syntax error: '|'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(51): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(53): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(55): error C2059: syntax error: 'constant'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(63): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(64): error C2733: '_tolower_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(64): note: see declaration of '_tolower_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(65): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(66): error C2733: '_toupper_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(66): note: see declaration of '_toupper_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(68): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(69): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(70): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(71): error C2059: syntax error: '('
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(145): error C2084: function '__crt_locale_data_public *__acrt_get_locale_data_prefix(volatile const void *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(144): note: see previous definition of '__acrt_get_locale_data_prefix'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2143: syntax error: missing ';' before 'const'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(146): error C2146: syntax error: missing ';' before identifier '_LocalePointers'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): error C2227: left of '->locinfo' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(147): note: type is 'const int'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(157): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(154): error C2733: '_chvalidchk_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: see declaration of '_chvalidchk_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(165): error C2227: left of '->_locale_pctype' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(178): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(175): error C2733: '_ischartype_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(27): note: see declaration of '_ischartype_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(181): error C2227: left of '->_locale_mb_cur_max' must point to class/struct/union/generic type
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): error C2664: 'int _isctype_l(int,int,_locale_t)': cannot convert argument 3 from 'int' to '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(183): note: Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): error C2665: '_chvalidchk_l': none of the 2 overloads could convert all the argument types
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\ctype.h(154): note: could be 'int _chvalidchk_l(const int,const int,const _locale_t)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\ctype.h(186): note: while trying to match the argument list '(const int, const int, int)'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(41): error C2084: function 'errno_t memcpy_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(35): note: see previous definition of 'memcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memcpy_s.h(70): error C2084: function 'errno_t memmove_s(void *const ,const std::rsize_t,const void *const ,const std::rsize_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memcpy_s.h(64): note: see previous definition of 'memmove_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(35): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(31): error C2733: '_memicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(31): note: see declaration of '_memicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_memory.h(105): error C2084: function 'void *memchr(void *,int,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_memory.h(97): note: see previous definition of 'memchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(93): error C2995: 'errno_t wcscat_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(93): note: see declaration of 'wcscat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(115): error C2995: 'errno_t wcscpy_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(115): note: see declaration of 'wcscpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(163): error C2084: function 'size_t wcsnlen_s(const wchar_t *,std::size_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(159): note: see previous definition of 'wcsnlen_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(174): error C2995: 'errno_t wcsncat_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(174): note: see declaration of 'wcsncat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(196): error C2995: 'errno_t wcsncpy_s(wchar_t (&)[_Size],const wchar_t *,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(196): note: see declaration of 'wcsncpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(244): error C2084: function 'wchar_t *_wcstok(wchar_t *const ,const wchar_t *const )' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(240): note: see previous definition of '_wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(258): error C2084: function 'wchar_t *wcstok(wchar_t *,const wchar_t *) throw()' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(254): note: see previous definition of 'wcstok'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(286): error C2995: 'errno_t _wcserror_s(wchar_t (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(286): note: see declaration of '_wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(305): error C2995: 'errno_t __wcserror_s(wchar_t (&)[_Size],const wchar_t *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(305): note: see declaration of '__wcserror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(315): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(312): error C2733: '_wcsicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(312): note: see declaration of '_wcsicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(328): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(324): error C2733: '_wcsnicmp_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(324): note: see declaration of '_wcsnicmp_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(343): error C2995: 'errno_t _wcsnset_s(wchar_t (&)[_Size],wchar_t,std::size_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(343): note: see declaration of '_wcsnset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(367): error C2995: 'errno_t _wcsset_s(wchar_t (&)[_Size],wchar_t) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(367): note: see declaration of '_wcsset_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(384): error C2995: 'errno_t _wcslwr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(384): note: see declaration of '_wcslwr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(395): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(392): error C2733: '_wcslwr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(392): note: see declaration of '_wcslwr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(402): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(409): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(420): error C2995: 'errno_t _wcsupr_s(wchar_t (&)[_Size]) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(420): note: see declaration of '_wcsupr_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(431): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(428): error C2733: '_wcsupr_s_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(428): note: see declaration of '_wcsupr_s_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2065: '_String': undeclared identifier
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2146: syntax error: missing ')' before identifier '_Locale'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(438): error C2143: syntax error: missing ';' before '}'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(445): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(461): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(474): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(487): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(502): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(517): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(533): error C2084: function 'wchar_t *wcschr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(532): note: see previous definition of 'wcschr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(539): error C2084: function 'wchar_t *wcspbrk(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(538): note: see previous definition of 'wcspbrk'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(545): error C2084: function 'wchar_t *wcsrchr(wchar_t *,wchar_t)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(544): note: see previous definition of 'wcsrchr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt_wstring.h(552): error C2084: function 'wchar_t *wcsstr(wchar_t *,const wchar_t *)' already has a body
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_wstring.h(551): note: see previous definition of 'wcsstr'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(82): error C2995: 'errno_t strcat_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(82): note: see declaration of 'strcat_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(116): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(113): error C2733: '_strcoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(113): note: see declaration of '_strcoll_l'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(123): error C2995: 'errno_t strcpy_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(128): note: see declaration of 'strcpy_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(169): error C2995: 'errno_t _strerror_s(char (&)[_Size],const char *) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(174): note: see declaration of '_strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(181): error C2995: 'errno_t strerror_s(char (&)[_Size],int) throw()': function template has already been defined
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\string.h(186): note: see declaration of 'strerror_s'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(199): error C2061: syntax error: identifier '_locale_t'
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(196): error C2733: '_stricoll_l': second C linkage of overloaded function not allowed
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\string.h(200): fatal error C1003: error count exceeds 100; stopping compilation
[10/163] CXX obj\media\formats\mp4\mp4.mp4_media_parser.obj
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment