Changes between Initial Version and Version 1 of Ticket #11699, comment 1


Ignore:
Timestamp:
Sep 30, 2015, 8:27:17 PM (7 years ago)
Author:
Ion Gaztañaga

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11699, comment 1

    initial v1  
    11Thanks 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{{{
    33 #pragma vtordisp(push, 2) // compiler bug workaround
     4}}}
    45
    56The fix is to use the same pragma when forward declaring the basic_istream and basic_ostream.