This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17453] G++ type conversion bug
- From: "froloff at os2 dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Sep 2004 12:16:00 -0000
- Subject: [Bug c++/17453] G++ type conversion bug
- References: <20040913110856.17453.froloff@os2.ru>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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