------- Comment #5 from bangerth at dealii dot org  2007-03-09 03:43 -------
If you make it defined earlier than the standard says, then you
get into trouble for cases like this:

  void f() {
    struct X {
      void g(const char * = __FUNCTION__) {}
    };
  }

According to the N1970, this refers to the string "void f()", but
by your proposal it would be something like "...X::g()".

W.


-- 

bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bangerth at dealii dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30811

Reply via email to