Timeline for Easy way find uninitialized member variables
Current License: CC BY-SA 2.5
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 20, 2010 at 15:23 | comment | added | kennytm | @Roger-plate: Unfortunately you need to use int main() { Q q; return q.get_xy(); } to work. | |
| Jan 20, 2010 at 8:02 | comment | added | Roger Pate | I am unable to get g++ 4.3.3 to warn for data members with -Wuninitialized, are you sure it works here? (Simple test: add int main() { return Q().get_xy(); } to your code.) | |
| Jan 20, 2010 at 7:59 | comment | added | Roger Pate | Also requires -O1 or above, which isn't the default. | |
| Jan 20, 2010 at 7:35 | history | answered | kennytm | CC BY-SA 2.5 |