bugmimms mms stream downloader - Bugs: bug #30458, iostream and fstream's open()...


bug #30458: iostream and fstream's open() function

Submitter:  wenli wang <wlwang>
Submitted:  Fri 16 Jul 2010 01:50:56 AM UTC
Severity:  5 - Average Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:
       No canned response available


Fri 16 Jul 2010 01:50:56 AM UTC, original submission:  

Dear gnu experts,
I compile c++ program in the redhat linux enterprise4.8(gnu/linux),I use the open() in the form:

ofstream txt_stream;

compile it out:

no matching function for call to `std::basic_ofstream<char, std::char_traits<char> >::open(char[400], const char[2])'
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../../include/c++/3.4.6/fstream:695: note: candidates are: void std::basic_ofstream<_CharT, _Traits>::open(const char*, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]

Could please you tell me how to solve this problem,thank you.


                                         wl wang

wenli wang <wlwang>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by wlwang (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    No changes have been made to this item

    Back to the top

    Powered by Savane 3.9