[Bug c++/22107] Type checking seems to break with string operator=
--- Additional Comments From weage98 at yahoo dot com 2005-06-17 21:27 --- Ok. This also compiles without warnings: #include int main() { std::string s; long l = 1234; s = l; } Aparently the compiler is doing automatic type conversion from long to char; however, it does not
[Bug c++/22107] New: Type checking seems to break with string operator=
= Product: gcc Version: 3.2.3 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: weage98 at yahoo dot com CC: gcc-bugs at gcc dot gnu dot