[Bug c++/39511] Bad warning, with return type, switch and enum

2009-04-16 Thread alpha dot super-one at laposte dot net
--- Comment #4 from alpha dot super-one at laposte dot net 2009-04-17 05:05 --- My .ii: http://files.first-world.info/temp/main.ii -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39511

[Bug c++/39511] Bad warning, with return type, switch and enum

2009-04-16 Thread alpha dot super-one at laposte dot net
--- Comment #2 from alpha dot super-one at laposte dot net 2009-04-17 04:51 --- My test case: enum ParityType { PAR_NONE, PAR_ODD, PAR_EVEN, PAR_MARK, //WINDOWS ONLY PAR_SPACE }; QString parityToString(ParityType value) { switch(value

[Bug c++/39699] No error reporting when function and variable have the same name

2009-04-10 Thread alpha dot super-one at laposte dot net
--- Comment #4 from alpha dot super-one at laposte dot net 2009-04-10 15:42 --- I have not that's in lot of version, my code tested is here: http://www.developpez.net/forums/m4191192-3/ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39699

[Bug c++/39699] No error reporting when function and variable have the same name

2009-04-09 Thread alpha dot super-one at laposte dot net
--- Comment #2 from alpha dot super-one at laposte dot net 2009-04-10 04:47 --- class toto { enum e {a,b}; e test_example(); e test_example; }; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39699

[Bug c++/39699] New: No error reporting when function and variable have the same name

2009-04-09 Thread alpha dot super-one at laposte dot net
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: alpha dot super-one at laposte dot net GCC host triplet: linux x86_64 GCC target triplet: linux x86_64 http://gcc.gnu.org

[Bug c++/39511] New: Bad warning, with return type, switch and enum

2009-03-19 Thread alpha dot super-one at laposte dot net
3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: alpha dot super-one at laposte dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39511

[Bug c++/39191] New: Wrong warning with control reaches end of non-void function

2009-02-14 Thread alpha dot super-one at laposte dot net
c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: alpha dot super-one at laposte dot net GCC host triplet: linux x86_64 GCC target triplet: linux x86_64 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39191