This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/17453] G++ type conversion bug


------- Additional Comments From froloff at os2 dot ru  2004-09-13 12:15 -------
(In reply to comment #1)
> There is no reason why you should be able to cast an iterator to a pointer. msc
> v7.0 must use a "pure pointer" as iterators while g++ doesn't. This isn't a bug.

I didn't wait that it convert iterator to pointer by simple assignment, co I add
cast manually, and didn't saw any reaon why G++ can cast it.
So How I can read a number of vector elements? Or You propose to read it into
temp array of chars and the make assignment manually?


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17453


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]