Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-14951

NetReg fails to build with Clang-Cl

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.13
    • Applications
    • None

    Description

      This issue relates to CORE-11799.

      Can this application be fixed?
      Or should it be skipped? At least for the time being.

      configure.cmd clang -DENABLE_ROSAPPS=1:

      FAILED: C:\RosCMakeNinja\bin\clang-cl.exe /nologo /TP -D__RELFILE__="&__FILE__[sizeof REACTOS_SOURCE_DIR]" /Ob0 /Od /Gy /GR- /EHs-c- /GS- /W3 /wd4244 /wd4290 /wd4800 /wd4200 /wd4214 /wd4018 /we4013 /we4020 /we4022 /we4047 /we4098 /we4113 /we4129 /we4163 /we4229 /we4700 /we4603 /we4716 /w14115 -nostdinc -Wno-multichar -Wno-char-subscripts -Wno-microsoft-enum-forward-reference -Wno-pragma-pack -Wno-microsoft-anon-tag -Wno-parentheses-equality -Wno-unknown-pragmas /Zi -Imodules\rosapps\applications\net\netreg -Ic:\reactos-cov\modules\rosapps\applications\net\netreg -Ic:\reactos-cov\sdk\include -Ic:\reactos-cov\sdk\include\psdk -Ic:\reactos-cov\sdk\include\dxsdk -Isdk\include -Isdk\include\psdk -Isdk\include\dxsdk -Isdk\include\ddk -Isdk\include\reactos -Isdk\include\reactos\mc -Ic:\reactos-cov\sdk\include\crt -Ic:\reactos-cov\sdk\include\ddk -Ic:\reactos-cov\sdk\include\ndk -Ic:\reactos-cov\sdk\include\reactos -Ic:\reactos-cov\sdk\include\reactos\libs -Ic:\reactos-cov\sdk\include\c++\stlport -DREACTOS_SOURCE_DIR="\"c:/reactos-cov\"" -DREACTOS_BINARY_DIR="\"C:/ros_build\"" -DNATIVE_CPP_INCLUDE=c:/reactos-cov/sdk/include/c++ /showIncludes -DDBG=1 -DKDBG=1 -DUSE_COMPILER_EXCEPTIONS -DWIN32 -DWINVER=0x502 -D_DLL -D_SEH_ENABLE_TRACE -D_SETUPAPI_VER=0x502 -D_USE_32BIT_TIME_T -D_WIN32_IE=0x600 -D_WIN32_WINDOWS=0x502 -D_WIN32_WINNT=0x502 -D_WINDOWS -D_X86_ -D__REACTOS__ -D__STDC__=1 -D__USE_CRTIMP -D__i386__ -Di386 -Dinline=__inline /Fomodules\rosapps\applications\net\netreg\CMakeFiles\netreg.dir\netreg.cpp.obj /Fdmodules\rosapps\applications\net\netreg\CMakeFiles\netreg.dir\ -c c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp
      In file included from c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp:13:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\map:36:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_map.h:34:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_tree.h:58:
      c:\reactos-cov\sdk\include\c++\stlport\stl/_alloc.h(343,6) : error: cannot use 'throw' with exceptions disabled
      _STLP_THROW_BAD_ALLOC;
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_new.h(118,34) : note: expanded from macro '_STLP_THROW_BAD_ALLOC'
      # define _STLP_THROW_BAD_ALLOC _STLP_THROW(_STLP_STD::bad_alloc())
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(820,27) : note: expanded from macro '_STLP_THROW'
      # define _STLP_THROW(x) throw x
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_alloc.h(531,11) : note: in instantiation of member function 'std::priv::_STLP_alloc_proxy<char *, char, std::allocator<char> >::allocate' requested here
      return allocate(__n, __allocated_n, _STLportAlloc());
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.c(611,62) : note: in instantiation of member function 'std::priv::_STLP_alloc_proxy<char *, char, std::allocator<char> >::allocate' requested here
      this->_M_start_of_storage._M_data = _M_start_of_storage.allocate(__n, __n);
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.h(379,10) : note: in instantiation of member function 'std::priv::_String_base<char, std::allocator<char> >::_M_allocate_block' requested here
      this->_M_allocate_block(__n + 1);
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.c(649,2) : note: in instantiation of member function 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_range_initialize' requested here
      { _M_range_initialize(__s._M_Start(), __s._M_Finish()); }
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_numpunct.h(58,35) : note: in instantiation of member function 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string' requested here
      string grouping() const { return do_grouping(); }
      ^
      In file included from c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp:13:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\map:36:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_map.h:34:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_tree.h:58:
      c:\reactos-cov\sdk\include\c++\stlport\stl/_alloc.h(343,6) : error: cannot use 'throw' with exceptions disabled
      _STLP_THROW_BAD_ALLOC;
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_new.h(118,34) : note: expanded from macro '_STLP_THROW_BAD_ALLOC'
      # define _STLP_THROW_BAD_ALLOC _STLP_THROW(_STLP_STD::bad_alloc())
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(820,27) : note: expanded from macro '_STLP_THROW'
      # define _STLP_THROW(x) throw x
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_alloc.h(551,18) : note: in instantiation of member function 'std::allocator<char>::_M_allocate' requested here
      { return _Base::_M_allocate(__n, __allocated_n); }
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_alloc.h(531,11) : note: in instantiation of member function 'std::priv::_STLP_alloc_proxy<char *, char, std::allocator<char> >::allocate' requested here
      return allocate(__n, __allocated_n, _STLportAlloc());
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.c(611,62) : note: in instantiation of member function 'std::priv::_STLP_alloc_proxy<char *, char, std::allocator<char> >::allocate' requested here
      this->_M_start_of_storage._M_data = _M_start_of_storage.allocate(__n, __n);
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.h(379,10) : note: in instantiation of member function 'std::priv::_String_base<char, std::allocator<char> >::_M_allocate_block' requested here
      this->_M_allocate_block(__n + 1);
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.c(649,2) : note: in instantiation of member function 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_range_initialize' requested here
      { _M_range_initialize(__s._M_Start(), __s._M_Finish()); }
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_numpunct.h(58,35) : note: in instantiation of member function 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string' requested here
      string grouping() const { return do_grouping(); }
      ^
      In file included from c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp:13:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\map:36:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_map.h:34:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_tree.h:58:
      c:\reactos-cov\sdk\include\c++\stlport\stl/_alloc.h(343,6) : error: cannot use 'throw' with exceptions disabled
      _STLP_THROW_BAD_ALLOC;
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_new.h(118,34) : note: expanded from macro '_STLP_THROW_BAD_ALLOC'
      # define _STLP_THROW_BAD_ALLOC _STLP_THROW(_STLP_STD::bad_alloc())
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(820,27) : note: expanded from macro '_STLP_THROW'
      # define _STLP_THROW(x) throw x
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_alloc.h(551,18) : note: in instantiation of member function 'std::allocator<wchar_t>::_M_allocate' requested here
      { return _Base::_M_allocate(__n, __allocated_n); }
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_alloc.h(531,11) : note: in instantiation of member function 'std::priv::_STLP_alloc_proxy<wchar_t *, wchar_t, std::allocator<wchar_t> >::allocate' requested here
      return allocate(__n, __allocated_n, _STLportAlloc());
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.c(611,62) : note: in instantiation of member function 'std::priv::_STLP_alloc_proxy<wchar_t *, wchar_t, std::allocator<wchar_t> >::allocate' requested here
      this->_M_start_of_storage._M_data = _M_start_of_storage.allocate(__n, __n);
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.h(379,10) : note: in instantiation of member function 'std::priv::_String_base<wchar_t, std::allocator<wchar_t> >::_M_allocate_block' requested here
      this->_M_allocate_block(__n + 1);
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.c(649,2) : note: in instantiation of member function 'std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_range_initialize' requested here
      { _M_range_initialize(__s._M_Start(), __s._M_Finish()); }
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_numpunct.h(88,36) : note: in instantiation of member function 'std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string' requested here
      wstring truename() const { return do_truename(); }
      ^
      In file included from c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp:13:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\map:36:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_map.h:34:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_tree.h:58:
      c:\reactos-cov\sdk\include\c++\stlport\stl/_alloc.h(303,6) : error: cannot use 'throw' with exceptions disabled
      _STLP_THROW_BAD_ALLOC;
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_new.h(118,34) : note: expanded from macro '_STLP_THROW_BAD_ALLOC'
      # define _STLP_THROW_BAD_ALLOC _STLP_THROW(_STLP_STD::bad_alloc())
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(820,27) : note: expanded from macro '_STLP_THROW'
      # define _STLP_THROW(x) throw x
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_alloc.h(548,18) : note: in instantiation of member function 'std::priv::__iostring_allocator<char>::allocate' requested here
      { return _Base::allocate(__n); }
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_alloc.h(555,32) : note: in instantiation of member function 'std::priv::_STLP_alloc_proxy<char *, char, std::priv::__iostring_allocator<char> >::allocate' requested here
      { __allocated_n = __n; return allocate(__n); }
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_alloc.h(531,11) : note: in instantiation of member function 'std::priv::_STLP_alloc_proxy<char *, char, std::priv::__iostring_allocator<char> >::allocate' requested here
      return allocate(__n, __allocated_n, _STLportAlloc());
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.c(611,62) : note: in instantiation of member function 'std::priv::_STLP_alloc_proxy<char *, char, std::priv::__iostring_allocator<char> >::allocate' requested here
      this->_M_start_of_storage._M_data = _M_start_of_storage.allocate(__n, __n);
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string_base.h(124,6) : note: in instantiation of member function 'std::priv::_String_base<char, std::priv::__iostring_allocator<char> >::_M_allocate_block' requested here
      _M_allocate_block(__n);
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.h(177,6) : note: in instantiation of member function 'std::priv::_String_base<char, std::priv::__iostring_allocator<char> >::_String_base' requested here
      : _STLP_PRIV _String_base<_CharT,_Alloc>(__a, __n + 1)
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(523,23) : note: expanded from macro '_STLP_PRIV'
      # define _STLP_PRIV _STLP_STD::_STLP_PRIV_NAME::
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(516,20) : note: expanded from macro '_STLP_STD'
      # define _STLP_STD ::_STLP_STD_NAME
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_iostream_string.h(108,23) : note: in instantiation of member function 'std::basic_string<char, std::char_traits<char>, std::priv::__iostring_allocator<char> >::basic_string' requested here
      __basic_iostring() : _Base(_Reserve_t(), __iostring_allocator<_CharT>::_STR_SIZE)
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_num_put.c(132,13) : note: in instantiation of member function 'std::priv::__basic_iostring<char>::__basic_iostring' requested here
      __iostring __buf;
      ^
      In file included from c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp:13:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\map:36:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_map.h:34:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_tree.h:58:
      c:\reactos-cov\sdk\include\c++\stlport\stl/_alloc.h(303,6) : error: cannot use 'throw' with exceptions disabled
      _STLP_THROW_BAD_ALLOC;
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_new.h(118,34) : note: expanded from macro '_STLP_THROW_BAD_ALLOC'
      # define _STLP_THROW_BAD_ALLOC _STLP_THROW(_STLP_STD::bad_alloc())
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(820,27) : note: expanded from macro '_STLP_THROW'
      # define _STLP_THROW(x) throw x
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_iostream_string.h(65,20) : note: in instantiation of member function 'std::allocator<char>::allocate' requested here
      return _Base::allocate(__n, __ptr);
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_alloc.h(548,18) : note: in instantiation of member function 'std::priv::__iostring_allocator<char>::allocate' requested here
      { return _Base::allocate(__n); }
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_alloc.h(555,32) : note: in instantiation of member function 'std::priv::_STLP_alloc_proxy<char *, char, std::priv::__iostring_allocator<char> >::allocate' requested here
      { __allocated_n = __n; return allocate(__n); }
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_alloc.h(531,11) : note: in instantiation of member function 'std::priv::_STLP_alloc_proxy<char *, char, std::priv::__iostring_allocator<char> >::allocate' requested here
      return allocate(__n, __allocated_n, _STLportAlloc());
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.c(611,62) : note: in instantiation of member function 'std::priv::_STLP_alloc_proxy<char *, char, std::priv::__iostring_allocator<char> >::allocate' requested here
      this->_M_start_of_storage._M_data = _M_start_of_storage.allocate(__n, __n);
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string_base.h(124,6) : note: in instantiation of member function 'std::priv::_String_base<char, std::priv::__iostring_allocator<char> >::_M_allocate_block' requested here
      _M_allocate_block(__n);
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.h(177,6) : note: in instantiation of member function 'std::priv::_String_base<char, std::priv::__iostring_allocator<char> >::_String_base' requested here
      : _STLP_PRIV _String_base<_CharT,_Alloc>(__a, __n + 1)
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(523,23) : note: expanded from macro '_STLP_PRIV'
      # define _STLP_PRIV _STLP_STD::_STLP_PRIV_NAME::
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(516,20) : note: expanded from macro '_STLP_STD'
      # define _STLP_STD ::_STLP_STD_NAME
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_iostream_string.h(108,23) : note: in instantiation of member function 'std::basic_string<char, std::char_traits<char>, std::priv::__iostring_allocator<char> >::basic_string' requested here
      __basic_iostring() : _Base(_Reserve_t(), __iostring_allocator<_CharT>::_STR_SIZE)
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_num_put.c(132,13) : note: in instantiation of member function 'std::priv::__basic_iostring<char>::__basic_iostring' requested here
      __iostring __buf;
      ^
      In file included from c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp:14:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\string:29:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_string.h:43:
      c:\reactos-cov\sdk\include\c++\stlport\stl/_uninitialized.h(93,2) : error: cannot use 'throw' with exceptions disabled
      _STLP_UNWIND(_STLP_STD::_Destroy_Range(__result, __cur))
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(824,52) : note: expanded from macro '_STLP_UNWIND'
      # define _STLP_UNWIND(action) catch(...) { action; throw; }
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.c(202,40) : note: in instantiation of function template specialization 'std::priv::__ucopy<char *, char *>' requested here
      pointer __new_finish = _STLP_PRIV __ucopy(this->_M_Start(), this->_M_Finish(), __new_start);
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.h(517,11) : note: in instantiation of member function 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append' requested here
      { return _M_append(__s._M_Start(), __s._M_Finish()); }
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.h(451,47) : note: in instantiation of member function 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append' requested here
      _Self& operator+=(const _Self& __s) { return append(__s); }
      ^
      c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp(47,15) : note: in instantiation of member function 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator+=' requested here
      full_input += input;
      ^
      In file included from c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp:14:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\string:29:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_string.h:43:
      c:\reactos-cov\sdk\include\c++\stlport\stl/_uninitialized.h(85,2) : error: cannot use 'try' with exceptions disabled
      _STLP_TRY {
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(817,20) : note: expanded from macro '_STLP_TRY'
      # define _STLP_TRY try
      ^
      In file included from c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp:14:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\string:29:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_string.h:43:
      c:\reactos-cov\sdk\include\c++\stlport\stl/_uninitialized.h(85,2) : error: cannot use 'try' with exceptions disabled
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(817,20) : note: expanded from macro '_STLP_TRY'
      # define _STLP_TRY try
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_uninitialized.h(100,9) : note: in instantiation of function template specialization 'std::priv::__ucopy<char *, char *, int>' requested here
      { return __ucopy(__first, __last, __result, random_access_iterator_tag(), (ptrdiff_t*)0); }
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.c(202,40) : note: in instantiation of function template specialization 'std::priv::__ucopy<char *, char *>' requested here
      pointer __new_finish = _STLP_PRIV __ucopy(this->_M_Start(), this->_M_Finish(), __new_start);
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.h(517,11) : note: in instantiation of member function 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append' requested here
      { return _M_append(__s._M_Start(), __s._M_Finish()); }
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.h(451,47) : note: in instantiation of member function 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append' requested here
      _Self& operator+=(const _Self& __s) { return append(__s); }
      ^
      c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp(47,15) : note: in instantiation of member function 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator+=' requested here
      full_input += input;
      ^
      In file included from c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp:14:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\string:29:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_string.h:43:
      c:\reactos-cov\sdk\include\c++\stlport\stl/_uninitialized.h(85,2) : error: cannot use 'try' with exceptions disabled
      _STLP_TRY {
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(817,20) : note: expanded from macro '_STLP_TRY'
      # define _STLP_TRY try
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_uninitialized.h(100,9) : note: in instantiation of function template specialization 'std::priv::__ucopy<const char *, char *, int>' requested here
      { return __ucopy(__first, __last, __result, random_access_iterator_tag(), (ptrdiff_t*)0); }
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.c(203,32) : note: in instantiation of function template specialization 'std::priv::__ucopy<const char *, char *>' requested here
      __new_finish = _STLP_PRIV __ucopy(__first, __last, __new_finish);
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.h(517,11) : note: in instantiation of member function 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append' requested here
      { return _M_append(__s._M_Start(), __s._M_Finish()); }
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.h(451,47) : note: in instantiation of member function 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append' requested here
      _Self& operator+=(const _Self& __s) { return append(__s); }
      ^
      c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp(47,15) : note: in instantiation of member function 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator+=' requested here
      full_input += input;
      ^
      In file included from c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp:14:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\string:29:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_string.h:43:
      c:\reactos-cov\sdk\include\c++\stlport\stl/_uninitialized.h(252,2) : error: cannot use 'throw' with exceptions disabled
      _STLP_UNWIND(_STLP_STD::_Destroy_Range(__first, __cur))
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(824,52) : note: expanded from macro '_STLP_UNWIND'
      # define _STLP_UNWIND(action) catch(...) { action; throw; }
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.c(186,15) : note: in instantiation of function template specialization 'std::priv::__uninitialized_fill_n<char *, unsigned int, char>' requested here
      _STLP_PRIV __uninitialized_fill_n(this->_M_finish + 1, __n - 1, __c);
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_sstream.c(240,13) : note: in instantiation of member function 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append' requested here
      _M_str.append(__app_size, __c);
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_sstream.h(68,11) : note: in instantiation of member function 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::_M_xsputnc' requested here
      explicit basic_stringbuf(ios_base::openmode __mode
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_sstream.c(419,6) : note: in instantiation of member function 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::basic_stringbuf' requested here
      _M_buf(__mode | ios_base::out) {
      ^
      c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp(95,18) : note: in instantiation of member function 'std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream' requested here
      ostringstream out;
      ^
      In file included from c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp:14:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\string:29:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_string.h:43:
      c:\reactos-cov\sdk\include\c++\stlport\stl/_uninitialized.h(248,2) : error: cannot use 'try' with exceptions disabled
      _STLP_TRY {
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(817,20) : note: expanded from macro '_STLP_TRY'
      # define _STLP_TRY try
      ^
      In file included from c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp:14:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\string:29:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_string.h:43:
      c:\reactos-cov\sdk\include\c++\stlport\stl/_uninitialized.h(248,2) : error: cannot use 'try' with exceptions disabled
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(817,20) : note: expanded from macro '_STLP_TRY'
      # define _STLP_TRY try
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_uninitialized.h(315,2) : note: in instantiation of function template specialization 'std::priv::__ufill<char *, char, int>' requested here
      __ufill(__first, __last, __x, random_access_iterator_tag(), (ptrdiff_t*)0);
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_string.c(186,15) : note: in instantiation of function template specialization 'std::priv::__uninitialized_fill_n<char *, unsigned int, char>' requested here
      _STLP_PRIV __uninitialized_fill_n(this->_M_finish + 1, __n - 1, __c);
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_sstream.c(240,13) : note: in instantiation of member function 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append' requested here
      _M_str.append(__app_size, __c);
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_sstream.h(68,11) : note: in instantiation of member function 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::_M_xsputnc' requested here
      explicit basic_stringbuf(ios_base::openmode __mode
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_sstream.c(419,6) : note: in instantiation of member function 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::basic_stringbuf' requested here
      _M_buf(__mode | ios_base::out) {
      ^
      c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp(95,18) : note: in instantiation of member function 'std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream' requested here
      ostringstream out;
      ^
      In file included from c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp:14:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\string:37:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_string_io.h:23:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_ostream.h:24:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_ios.h:179:
      c:\reactos-cov\sdk\include\c++\stlport\stl/_ios.c(71,2) : error: cannot use 'try' with exceptions disabled
      _STLP_TRY {
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(817,20) : note: expanded from macro '_STLP_TRY'
      # define _STLP_TRY try
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_sstream.c(420,8) : note: in instantiation of member function 'std::basic_ios<char, std::char_traits<char> >::init' requested here
      this->init(&_M_buf);
      ^
      c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp(95,18) : note: in instantiation of member function 'std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream' requested here
      ostringstream out;
      ^
      In file included from c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp:14:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\string:37:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_string_io.h:23:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_ostream.h:24:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_ios.h:179:
      c:\reactos-cov\sdk\include\c++\stlport\stl/_ios.c(71,2) : error: cannot use 'try' with exceptions disabled
      _STLP_TRY {
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(817,20) : note: expanded from macro '_STLP_TRY'
      # define _STLP_TRY try
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_ios.c(100,8) : note: in instantiation of member function 'std::basic_ios<char, std::char_traits<char> >::imbue' requested here
      this->imbue(locale());
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_sstream.c(420,8) : note: in instantiation of member function 'std::basic_ios<char, std::char_traits<char> >::init' requested here
      this->init(&_M_buf);
      ^
      c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp(95,18) : note: in instantiation of member function 'std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream' requested here
      ostringstream out;
      ^
      In file included from c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp:14:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\string:37:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_string_io.h:23:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_ostream.h:24:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_ios.h:179:
      c:\reactos-cov\sdk\include\c++\stlport\stl/_ios.c(118,4) : error: cannot use 'throw' with exceptions disabled
      _STLP_RETHROW;
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(822,24) : note: expanded from macro '_STLP_RETHROW'
      # define _STLP_RETHROW throw
      ^
      In file included from c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp:14:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\string:37:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_string_io.h:23:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_ostream.h:380:
      c:\reactos-cov\sdk\include\c++\stlport\stl/_ostream.c(304,4) : error: cannot use 'try' with exceptions disabled
      _STLP_TRY {
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(817,20) : note: expanded from macro '_STLP_TRY'
      # define _STLP_TRY try
      ^
      c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp(101,5) : note: in instantiation of function template specialization 'std::operator<<<std::char_traits<char> >' requested here
      out << *i;
      ^
      In file included from c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp:14:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\string:37:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_string_io.h:23:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_ostream.h:380:
      c:\reactos-cov\sdk\include\c++\stlport\stl/_ostream.c(304,4) : error: cannot use 'try' with exceptions disabled
      _STLP_TRY {
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(817,20) : note: expanded from macro '_STLP_TRY'
      # define _STLP_TRY try
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_ostream.h(305,7) : note: in instantiation of member function 'std::basic_ostream<char, std::char_traits<char> >::_M_put_char' requested here
      __os._M_put_char(__c);
      ^
      c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp(101,5) : note: in instantiation of function template specialization 'std::operator<<<std::char_traits<char> >' requested here
      out << *i;
      ^
      In file included from c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp:14:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\string:37:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_string_io.h:23:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_ostream.h:380:
      c:\reactos-cov\sdk\include\c++\stlport\stl/_ostream.c(338,4) : error: cannot use 'try' with exceptions disabled
      _STLP_TRY {
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(817,20) : note: expanded from macro '_STLP_TRY'
      # define _STLP_TRY try
      ^
      c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp(105,5) : note: in instantiation of function template specialization 'std::operator<<<std::char_traits<char> >' requested here
      out << "%" << minibuf;
      ^
      In file included from c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp:14:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\string:37:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_string_io.h:23:
      In file included from c:\reactos-cov\sdk\include\c++\stlport\stl/_ostream.h:380:
      c:\reactos-cov\sdk\include\c++\stlport\stl/_ostream.c(338,4) : error: cannot use 'try' with exceptions disabled
      _STLP_TRY {
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/config/features.h(817,20) : note: expanded from macro '_STLP_TRY'
      # define _STLP_TRY try
      ^
      c:\reactos-cov\sdk\include\c++\stlport\stl/_ostream.h(333,7) : note: in instantiation of member function 'std::basic_ostream<char, std::char_traits<char> >::_M_put_nowiden' requested here
      __os._M_put_nowiden(__s);
      ^
      c:\reactos-cov\modules\rosapps\applications\net\netreg\netreg.cpp(105,5) : note: in instantiation of function template specialization 'std::operator<<<std::char_traits<char> >' requested here
      out << "%" << minibuf;
      ^
      fatal error: too many errors emitted, stopping now [-ferror-limit=]
      20 errors generated.

      Attachments

        Activity

          People

            bug zilla Bug Zilla
            Serge Gautherie Serge Gautherie
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: