[Bug c++/53711] Wunused-function should warn for functions in the unnamed namespace

2015-03-24 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53711

Paolo Carlini  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |4.9.0

--- Comment #4 from Paolo Carlini  ---
Fixed then.


[Bug c++/53711] Wunused-function should warn for functions in the unnamed namespace

2014-03-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53711

--- Comment #3 from Jason Merrill  ---
Author: jason
Date: Fri Mar 14 15:20:28 2014
New Revision: 208569

URL: http://gcc.gnu.org/viewcvs?rev=208569&root=gcc&view=rev
Log:
PR c++/53711
* d++.dg/warn/anonymous-namespace-6.C: New test.

Added:
trunk/gcc/testsuite/g++.dg/warn/anonymous-namespace-6.C


[Bug c++/53711] Wunused-function should warn for functions in the unnamed namespace

2014-02-19 Thread patrick at parcs dot ath.cx
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53711

patrick at parcs dot ath.cx changed:

   What|Removed |Added

 CC||patrick at parcs dot ath.cx

--- Comment #2 from patrick at parcs dot ath.cx ---
This is fixed on trunk (with r199906 I believe).


[Bug c++/53711] Wunused-function should warn for functions in the unnamed namespace

2012-06-20 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53711

Daniel Krügler  changed:

   What|Removed |Added

 CC||daniel.kruegler at
   ||googlemail dot com

--- Comment #1 from Daniel Krügler  
2012-06-20 18:46:53 UTC ---
I agree. For C++11 code there exists one further similarity, namely that f()
has static linkage like a function explicitly declared static in namespace
scope.