Skip to content

#939 DUNE_VERSION_* broken

Metadata

Property Value
Reported by Andreas Lauser (andreas.lauser@iws.uni-stuttgart.de)
Reported at Jun 28, 2011 14:42
Type Bug Report
Version 2.1
Operating System Unspecified / All
Last edited by Oliver Sander (oliver.sander@tu-dresden.de)
Last edited at Jun 28, 2011 18:47
Closed by Oliver Sander (oliver.sander@tu-dresden.de)
Closed at Jun 28, 2011 18:47
Closed in version Unknown
Resolution Fixed
Comment Documentation patches applied in revisions 6473 (trunk) and 6474 (2.1).
Thanks!

Description

Hi,

today I tried to make use of the DUNE_VERSION_* macros, but they seem to be broken -- at least when using gcc 4.6 and dune 2.1. for me, the attached test case only produces

/home-local/lauser/dune-version.cc:6:2: warning: #warning "handmade: DUNE 2"

which is clearly not what is intented (at least the equivalent line which uses DUNE_VERSION_JOIN should also produce a warning). did I use the macros incorrectly or is this really a bug?

Attachments