[Dune] [#578] operator<< in dgfparserblocks.hh causes linking errors

Dune dune at dune-project.org
Wed Jul 22 17:24:59 CEST 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Sven Marnach (sven) 

Attached to Project - Dune
Summary - operator<< in dgfparserblocks.hh causes linking errors
Task Type - Bug Report
Category - DGFParser
Status - New
Assigned To - 
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - SVN
Due in Version - Undecided
Due Date - Undecided
Details - In dgfparserblocks.hh, there is an implicitly extern definition of

std::ostream &operator<< ( std::ostream &out, const PeriodicFaceTransformationBlock::AffineTransformation &trafo )

This definition must either be made static or moved to dgfparserblocks.cc.  The current situation leads to multiple definitions of this operator if the header is used by more than one compilation unit.  (Actually, the header cannot be used at all, since one definition of the operator will go to libdgfparser.)

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=578

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list