This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/54376] incorrect complaint about redefinition


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

--- Comment #10 from Ulrich Drepper <drepper.fsp at gmail dot com> 2012-08-25 22:54:02 UTC ---
Created attachment 28085
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28085
Avoid nested inlined friend functions

This patch fixes the issue for me.  It also cleans the code.  There is
currently a lot of inconsistency as to where the operator== functions are
defined, all depending on whether they are friends or not.

With this patch all operator== are defined after the class and friend
declarations are used.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]