Re: msvcp100: add time_get::do_get and time_get::get functions
Hi, On 10/06/17 18:37, Vijay Kiran Kamuju wrote:
+#if _MSVCP_VER <= 100 +#define call_time_get_char_do_get(this, ret, s, e, base, err, t, fmt, mod) CALL_VTBL_FUNC(this, 12, istreambuf_iterator_char*, \ + (const time_get_char*, istreambuf_iterator_char*, istreambuf_iterator_char, istreambuf_iterator_char, ios_base*, int*, struct tm*, char, char), \ + (this, ret, s, e, base, err, t)) +#else +#define call_time_get_char_do_get(this, ret, s, e, base, err, t, fmt, mod) CALL_VTBL_FUNC(this, 20, istreambuf_iterator_char*, \ + (const time_get_char*, istreambuf_iterator_char*, istreambuf_iterator_char, istreambuf_iterator_char, ios_base*, int*, struct tm*, char, char), \ + (this, ret, s, e, base, err, t)) +#endif This will not compile (too few arguments are passed).
@@ -11613,6 +11644,9 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(locale_facet__Decref) #endif VTABLE_ADD_FUNC(time_get_char_do_date_order) +#if _MSVCP_VER >= 100 + VTABLE_ADD_FUNC(time_get_char_do_get) +#endif VTABLE_ADD_FUNC(time_get_char_do_get_time) VTABLE_ADD_FUNC(time_get_char_do_get_date) VTABLE_ADD_FUNC(time_get_char_do_get_weekday) The order of virtual functions is incorrect.
Thanks, Piotr
participants (1)
-
Piotr Caban