[Dune] [#393] Add version macro to each module (Attachment added)

Dune dune at dune-project.org
Thu Sep 11 16:37:02 CEST 2008


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#393 - Add version macro to each module
User who did this - Andreas Dedner (dedner)

----------
this version.hh could now be in dune-common/common.
The defines for all the modules a module depends on could be in the module's
config.h (I just do not know exactly how to get them there...)
javascript://
Usage in dune-grid:
#if DUNE_VERSION_NEWER(COMMON,1,2)
  #warning using dune-common 1.2 or newer
#else
  #warning using dune-common version prior to 1.2
#endif

out << std::hex << DUNE_VERSION_ID(GRID) << std::endl;
can be used to tag data output files with a version number.
----------

One or more files have been attached.

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

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