Modify

Opened 12 years ago

Closed 10 years ago

#525 closed Bugs (fixed)

problem with boost::iostreams when compiled with Visual C++

Reported by: nobody Owned by: Jonathan Turkanis
Milestone: Component: iostreams
Version: None Severity: Problem
Keywords: Cc:

Description

There seems to be a problem with boost::iostreams 
when compiled with Visual C++ 7.1 (Boost Release 
1.33.1 Beta).

The following code results in a compile error:

char array[100];
typedef code_converter<array_sink, 
Dinkum::conversions::codecvt_utf8<wchar_t> > 
MyArrayDevice;
stream<MyArrayDevice> wCharOut(array, 100);

error 
C2665: 'boost::iostreams::detail::io_mode_impl_helper'
 : none of the 9 overloads can convert parameter 1 
from 
type 'boost::iostreams::detail::array_adapter<Mode,Ch>
::category'
....

The same lines work just fine when compiled with gcc.

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by Daryle Walker

Component: Noneiostreams
Severity: Problem

comment:2 Changed 10 years ago by Jonathan Turkanis

Resolution: Nonefixed
Status: assignedclosed

It was a VC7.1 bug, fixed in [42365] in branches/iostreams_dev, to be merged into trunk shortly.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonathan Turkanis.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.