[Dune] [#696] empty libdunegrid accepted as valid by DUNE_GRID_CHECK_MODULE
Dune
flyspray at dune-project.org
Sat Dec 12 01:27:25 CET 2009
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Jö Fahlke (joe)
Attached to Project - Dune
Summary - empty libdunegrid accepted as valid by DUNE_GRID_CHECK_MODULE
Task Type - Bug Report
Category - Grid
Status - New
Assigned To -
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - SVN
Due in Version - Undecided
Due Date - Undecided
Details - from dune-grid/m4/dune-grid.m4:
AC_DEFUN([DUNE_GRID_CHECK_MODULE],[
DUNE_CHECK_MODULES([dune-grid], [grid/common/grid.hh], [Dune::PartitionName])
])
This seem to check for the library for dune-grid, by trying to compile and link a program that include grid/common/grid.hh and uses the symbol Dune::PartitionName. However, the way that symbol is used does not seem to guarantee that the symbol is actually in the lib. Thus an empty libdunecommon is accepted as valid.
(an empty library can be produced by uncommenting the line
libdunegrid_la_LIBADD = ../dune/grid/libgrid.la
in dune-grid/lib/Makefile.am)
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=696
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