Changes between Initial Version and Version 1 of Ticket #11699, comment 1
- Timestamp:
- Sep 30, 2015, 8:27:17 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11699, comment 1
initial v1 1 1 Thanks for the report. It seems that it is a compiler bug, and standard libraries before Visual 2013 used some dummy virtual functions in basic_istream and basic_ostream to fix it. Starting with Visual 2013 <istream> and <ostream> contain a pragma to fix the bug with the comment: 2 2 {{{ 3 3 #pragma vtordisp(push, 2) // compiler bug workaround 4 }}} 4 5 5 6 The fix is to use the same pragma when forward declaring the basic_istream and basic_ostream.