This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/16396] ostream << volatile char* converts to ostream << bool
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jul 2004 14:48:09 -0000
- Subject: [Bug libstdc++/16396] ostream << volatile char* converts to ostream << bool
- References: <20040706232548.16396.ramsdell@mitre.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2004-07-08 14:48 -------
Gaby, could you please have a look at this PR? I believe we can close it as
not a bug (FWIW, Icc8.0 also converts to bool and outputs 1), but would
appreciate if you could explain in simple, yet technically sound, terms, why
among all the operator<< that we implement (27.6.2.1) operator<<(bool) is
the right one for a volatile char* type. Thanks in advance.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |gdr at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16396