[Bug c++/31960] Premature hiding of symbols makes a copy constructor shooting at its own foot

2007-06-06 Thread waldemar dot rachwal at gmail dot com
--- Comment #3 from waldemar dot rachwal at gmail dot com 2007-06-06 09:44 --- [3 weeks went by, but i've not forgotten about my bug report ;] as about the last comment (#2) I can't fully agree. -Winit-self works, but only in case of builtin scalar data types. For objects th

[Bug c++/31961] New: Premature hiding of symbols makes a copy constructor shooting at its own foot

2007-05-16 Thread waldemar dot rachwal at gmail dot com
### // int n = n + 1; n ==> 1628302664 // double r = r + 1000.0; r ==> 1000 // X obj; this ==> 0x22ccb0 // X obj(obj); &rhs ++> 0x22cca0 <** UNEXPECTED this oo> 0x22cca0 // X obj(obj); &rhs ++> 0x22cc90 <** UNEXPECTED this oo

[Bug c++/31960] New: Premature hiding of symbols makes a copy constructor shooting at its own foot

2007-05-16 Thread waldemar dot rachwal at gmail dot com
### // int n = n + 1; n ==> 1628302664 // double r = r + 1000.0; r ==> 1000 // X obj; this ==> 0x22ccb0 // X obj(obj); &rhs ++> 0x22cca0 <** UNEXPECTED this oo> 0x22cca0 // X obj(obj); &rhs ++> 0x22cc90 <** UNEXPECTED this oo