Skip to content

#386 Replace link 'dune'

Metadata

Property Value
Reported by Oliver Sander (oliver.sander@tu-dresden.de)
Reported at Apr 26, 2008 14:42
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Christian Engwer (christi@conan.iwr.uni-heidelberg.de)
Last edited at Oct 14, 2009 15:43
Closed by Christian Engwer (christi@conan.iwr.uni-heidelberg.de)
Closed at Oct 14, 2009 15:43
Closed in version Unknown
Resolution Implemented
Comment

Description

Currently each module contains a link called 'dune' which links to the parent directory. This allows to include headers by writing

#include <dune/common/foo.hh>

I find this link confusing. That's okay, but I have also seen several people try to copy entire modules and wonder why the copying takes so long... I know, there are options to make cp not follow links, but that's not the point.

Here's my proposal. Take dune-common for an example. We rename

dune-common/common

to

dune-common/dune-common

Then, instead of writing

#include <dune/common/foo.hh>

one can write

#include <dune-common/foo.hh>

Without the need for a link. Note that for a smooth transition we can have both ways at the same time.