[Dune] [#939] DUNE_VERSION_* broken (Attachment added)

Dune flyspray at dune-project.org
Tue Jun 28 16:42:12 CEST 2011


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

User who did this - Andreas Lauser (andlaus) 

Attached to Project - Dune
Summary - DUNE_VERSION_* broken
Task Type - Bug Report
Category - Dune Core Modules
Status - Unconfirmed
Assigned To - 
Operating System - Unspecified / All
Severity - Medium
Priority - Normal
Reported Version - 2.1
Due in Version - Undecided
Due Date - Undecided
Details - 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?

One or more files have been attached.

More information can be found at the following URL:

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