[Bug c++/57709] -Wshadow is too strict / has false positives

2015-06-09 Thread gael.guennebaud at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 Gael Guennebaud gael.guennebaud at gmail dot com changed: What|Removed |Added CC|

[Bug c++/57709] -Wshadow is too strict / has false positives

2015-06-09 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 --- Comment #16 from Manuel López-Ibáñez manu at gcc dot gnu.org --- (In reply to Gael Guennebaud from comment #15) -Wshadow still trigger false positive when a base member functions is imported with the using keyword, as in the following

[Bug c++/57709] -Wshadow is too strict / has false positives

2014-08-22 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 --- Comment #13 from Manuel López-Ibáñez manu at gcc dot gnu.org --- Author: manu Date: Fri Aug 22 19:12:46 2014 New Revision: 214357 URL: https://gcc.gnu.org/viewcvs?rev=214357root=gccview=rev Log: gcc/cp/ChangeLog: 2014-08-22 Manuel

[Bug c++/57709] -Wshadow is too strict / has false positives

2014-08-22 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/57709] -Wshadow is too strict / has false positives

2013-12-17 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 --- Comment #12 from joseph at codesourcery dot com joseph at codesourcery dot com --- On Sat, 14 Dec 2013, jan.kratochvil at redhat dot com wrote: Similar inappropriate warning is generated for typedef-vs-variable as reported now by Adam

[Bug c++/57709] -Wshadow is too strict / has false positives

2013-12-13 Thread jan.kratochvil at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 --- Comment #11 from Jan Kratochvil jan.kratochvil at redhat dot com --- Similar inappropriate warning is generated for typedef-vs-variable as reported now by Adam Jackson. Again a mistaken use cannot harm as it causes other errors. And clang

[Bug c++/57709] -Wshadow is too strict / has false positives

2013-11-19 Thread jan.kratochvil at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 --- Comment #8 from Jan Kratochvil jan.kratochvil at redhat dot com --- Created attachment 31248 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31248action=edit Comment 7 patch as a file I still get both warnings, applied the patch to: g++

[Bug c++/57709] -Wshadow is too strict / has false positives

2013-11-19 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 --- Comment #9 from Manuel López-Ibáñez manu at gcc dot gnu.org --- Something has changed in the C++ FE in the meanwhile. Could you try with this one? Index: name-lookup.c === ---

[Bug c++/57709] -Wshadow is too strict / has false positives

2013-11-19 Thread jan.kratochvil at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 Jan Kratochvil jan.kratochvil at redhat dot com changed: What|Removed |Added Attachment #31248|0 |1

[Bug c++/57709] -Wshadow is too strict / has false positives

2013-11-18 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added Keywords||diagnostic,

[Bug c++/57709] -Wshadow is too strict / has false positives

2013-06-25 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org --- clang does no warn on var_and_method as variable vs. method are safe, if one tries to use them inappropriately one gets an error. Not always. Think of function pointers or

[Bug c++/57709] -Wshadow is too strict / has false positives

2013-06-25 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug c++/57709] -Wshadow is too strict / has false positives

2013-06-25 Thread jan.kratochvil at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 --- Comment #3 from Jan Kratochvil jan.kratochvil at redhat dot com --- It may not be exactly correct but from a practical standpoint clang has caught my bug while not annoying me with tons of needless changes like gcc did, FYI.

[Bug c++/57709] -Wshadow is too strict / has false positives

2013-06-25 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added CC||jason at gcc

[Bug c++/57709] -Wshadow is too strict / has false positives

2013-06-25 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Severity|normal |enhancement ---

[Bug c++/57709] -Wshadow is too strict / has false positives

2013-06-25 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 --- Comment #6 from Manuel López-Ibáñez manu at gcc dot gnu.org --- (In reply to Jason Merrill from comment #5) That would be fine. But it seems less important for member functions, since there's much less chance of a local variable name