[Bug c++/34307] when data member name is same as parameter name, possible to omit parameter name in constructor without warning

2007-12-04 Thread myselfhimself at free dot fr
--- Comment #3 from myselfhimself at free dot fr 2007-12-04 21:03 --- I did some research this bug has already reported in as 19808 implementation work for it is probably started as I have found this page http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings *** This bug has been

[Bug c++/19808] miss a warning about uninitialized members in constructor

2007-12-04 Thread myselfhimself at free dot fr
--- Comment #4 from myselfhimself at free dot fr 2007-12-04 21:03 --- *** Bug 34307 has been marked as a duplicate of this bug. *** -- myselfhimself at free dot fr changed: What|Removed |Added

[Bug c++/34307] when data member name is same as parameter name, possible to omit parameter name in constructor without warning

2007-12-04 Thread myselfhimself at free dot fr
--- Comment #2 from myselfhimself at free dot fr 2007-12-04 20:37 --- Hi this is to say that my first example was not a problem so sorry for posting. a conclusion is that c++ tolerates nameless parameter names even in function definition. As to the second example, Andrew Pinski, you

[Bug c++/34307] New: when data member name is same as parameter name, possible to omit parameter name in constructor without warning

2007-11-30 Thread myselfhimself at free dot fr
under Linux 2.6.20, KUbuntu Gutsy with gcc 4.1.3 compiling for use on linux #if 0 //first here: //g++ accepts to compile no parameter name is given anytime (not in the class definition neither in the constructor implementation) //the program runs ok though #include using namespace std; class Ho