← Back to team overview

dolfin team mailing list archive

Re: Build error with gcc 4.2.1: LogStream& operator<<() [patch - link so it doesn't get scrubbed]

 

What does the mailing list tell you about the reason for rejecting the bundle?

/Anders


Jed Brown wrote:
Aaaack.  The list scrubbed the bundle.  The manual says to `hg bundle'
and send to the list.  Either the list prefs should be changed or the
manual should be changed to say `hg export'.  Here's a link to the
bundle:

http://59A2.org/fenics/dolfin-jed-20070919.hg

changeset:   3382:a435372e25e5
tag:         tip
user:        Jed Brown <jed@xxxxxxxx>
date:        Wed Sep 19 14:28:10 2007 +0200
summary:     Do not rely on implicit injection of friend declarations into namespace.

According to the GCC man page:

       -ffriend-injection
           Inject friend functions into the enclosing namespace, so that they are visible
           outside the scope of the class in which they are declared.  Friend functions were
           documented to work this way in the old Annotated C++ Reference Manual, and ver‐
           sions of G++ before 4.1 always worked that way.  However, in ISO C++ a friend
           function which is not declared in an enclosing scope can only be found using argu‐
           ment dependent lookup.  This option causes friends to be injected as they were in
           earlier releases.

           This option is for compatibility, and may be removed in a future release of G++.



------------------------------------------------------------------------

_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev


Follow ups

References