dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #05511
Build error with gcc 4.2.1: LogStream& operator<<() [patch - link so it doesn't get scrubbed]
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++.
--
Jed Brown jed@xxxxxxxx http://59A2.org
Attachment:
pgpZJe6OCvpV6.pgp
Description: PGP signature
Follow ups