On 08/02/16 01:40, Daniel Lehman wrote:
Try 3:
- use commented out externs for vtables
Try 2:
- add -arch to stubs
- use #define in _scprintf
Here's the list of stubs that still needs to be changed: ?_Init_cnt@_UShinit@std@@0HA :- private: static int std::_UShinit::_Init_cnt ?id@?$codecvt@DDU_Mbstatet@@@std@@2V0locale@2@A :- public: static class std::locale::id std::codecvt<char,char,struct _Mbstatet>::id ?id@?$codecvt@GDU_Mbstatet@@@std@@2V0locale@2@A :- public: static class std::locale::id std::codecvt<unsigned short,char,struct _Mbstatet>::id ?id@?$codecvt@_WDU_Mbstatet@@@std@@2V0locale@2@A :- public: static class std::locale::id std::codecvt<wchar_t,char,struct _Mbstatet>::id ?id@?$messages@D@std@@2V0locale@2@A :- public: static class std::locale::id std::messages<char>::id ?id@?$messages@G@std@@2V0locale@2@A :- public: static class std::locale::id std::messages<unsigned short>::id ?id@?$messages@_W@std@@2V0locale@2@A :- public: static class std::locale::id std::messages<wchar_t>::id ?id@?$money_get@DV?$istreambuf_iterator@DU?$char_traits@D@std@@@std@@@std@@2V0locale@2@A :- public: static class std::locale::id std::money_get<char,class std::istreambuf_iterator<char,struct std::char_traits<char> > >::id ?id@?$money_get@GV?$istreambuf_iterator@GU?$char_traits@G@std@@@std@@@std@@2V0locale@2@A :- public: static class std::locale::id std::money_get<unsigned short,class std::istreambuf_iterator<unsigned short,struct std::char_traits<unsigned short> > >::id ?id@?$money_get@_WV?$istreambuf_iterator@_WU?$char_traits@_W@std@@@std@@@std@@2V0locale@2@A :- public: static class std::locale::id std::money_get<wchar_t,class std::istreambuf_iterator<wchar_t,struct std::char_traits<wchar_t> > >::id ?id@?$money_put@DV?$ostreambuf_iterator@DU?$char_traits@D@std@@@std@@@std@@2V0locale@2@A :- public: static class std::locale::id std::money_put<char,class std::ostreambuf_iterator<char,struct std::char_traits<char> > >::id ?id@?$money_put@GV?$ostreambuf_iterator@GU?$char_traits@G@std@@@std@@@std@@2V0locale@2@A :- public: static class std::locale::id std::money_put<unsigned short,class std::ostreambuf_iterator<unsigned short,struct std::char_traits<unsigned short> > >::id ?id@?$money_put@_WV?$ostreambuf_iterator@_WU?$char_traits@_W@std@@@std@@@std@@2V0locale@2@A :- public: static class std::locale::id std::money_put<wchar_t,class std::ostreambuf_iterator<wchar_t,struct std::char_traits<wchar_t> > >::id ?id@?$moneypunct@D$00@std@@2V0locale@2@A :- public: static class std::locale::id std::moneypunct<char,1>::id ?id@?$moneypunct@D$0A@@std@@2V0locale@2@A :- public: static class std::locale::id std::moneypunct<char,0>::id ?id@?$moneypunct@G$00@std@@2V0locale@2@A :- public: static class std::locale::id std::moneypunct<unsigned short,1>::id ?id@?$moneypunct@G$0A@@std@@2V0locale@2@A :- public: static class std::locale::id std::moneypunct<unsigned short,0>::id ?id@?$moneypunct@_W$00@std@@2V0locale@2@A :- public: static class std::locale::id std::moneypunct<wchar_t,1>::id ?id@?$moneypunct@_W$0A@@std@@2V0locale@2@A :- public: static class std::locale::id std::moneypunct<wchar_t,0>::id ?id@?$time_get@GV?$istreambuf_iterator@GU?$char_traits@G@std@@@std@@@std@@2V0locale@2@A :- public: static class std::locale::id std::time_get<unsigned short,class std::istreambuf_iterator<unsigned short,struct std::char_traits<unsigned short> > >::id ?id@?$time_get@_WV?$istreambuf_iterator@_WU?$char_traits@_W@std@@@std@@@std@@2V0locale@2@A :- public: static class std::locale::id std::time_get<wchar_t,class std::istreambuf_iterator<wchar_t,struct std::char_traits<wchar_t> > >::id ?intl@?$moneypunct@D$00@std@@2_NB :- public: static bool const std::moneypunct<char,1>::intl ?intl@?$moneypunct@D$0A@@std@@2_NB :- public: static bool const std::moneypunct<char,0>::intl ?intl@?$moneypunct@G$00@std@@2_NB :- public: static bool const std::moneypunct<unsigned short,1>::intl ?intl@?$moneypunct@G$0A@@std@@2_NB :- public: static bool const std::moneypunct<unsigned short,0>::intl ?intl@?$moneypunct@_W$00@std@@2_NB :- public: static bool const std::moneypunct<wchar_t,1>::intl ?intl@?$moneypunct@_W$0A@@std@@2_NB :- public: static bool const std::moneypunct<wchar_t,0>::intl
Thanks, Piotr