[Dune] [#894] g++ name clashes due to dune-grid/utility dir

Dune flyspray at dune-project.org
Tue Mar 15 10:55:50 CET 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has been changed.  The changes are listed below.  For full information about what has changed, visit the URL and click the History tab.

FS#894 - g++ name clashes due to dune-grid/utility dir
User who did this: Markus Blatt (mblatt)
Task details edited:
-------
Hi,

In our pool (Debian etch) there appear a lot of name clashes when compiling some applications. The problem is that dune-grid/. is in the include path and has a sundirectory named utility which coincides with the name of a std header. This happens with both g++-4.1.3 20080704 and g++-4.3.2-1.1. While this is apparently a g++ bug and the installation is way old, we need to use it next week.

g++-4.1 -DHAVE_CONFIG_H -I. -I/export/home/mblatt/course-software/dune-pdelab-howto  -I/export/home/mblatt/course-software/dune-common -I/expor
t/home/mblatt/course-software/dune-grid -I/export/home/mblatt/course-software/dune-istl -I/export/home/mblatt/course-software/dune-localfunctio
ns -I/export/home/mblatt/course-software/dune-pdelab -I/usr/include/superlu -DENABLE_SUPERLU  -DUSE_STDARG -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DUSE_STDARG=1 -DMALLOC_RET_VOID=1 -I/usr/lib/mpich/include -DMPICH_SKIP_MPICXX -DENABLE_MPI=1 -I/export/ho
me/mblatt/opt/ug-install/include/ug   -DENABLE_UG  -I/export/home/mblatt/opt/alberta/include/alberta -DALBERTA_DIM=2 -DENABLE_ALBERTA -DUSE_STD
ARG -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DUSE_STDARG=1 -DMALLOC_RET_VOID=1 -I/usr/lib/mpich/include -DMPICH
_SKIP_MPICXX -DENABLE_MPI=1 -I/export/home/mblatt/opt/alugrid/include -I/export/home/mblatt/opt/alugrid/include/serial -I/export/home/mblatt/op
t/alugrid/include/duneinterface -DENABLE_ALUGRID -I/export/home/mblatt/opt/alugrid/include/parallel -O0 -g -Wall  -MT reentrantcorner-reentrant
corner.o -MD -MP -MF .deps/reentrantcorner-reentrantcorner.Tpo -c -o reentrantcorner-reentrantcorner.o `test -f 'reentrantcorner.cc' || echo '.
/'`reentrantcorner.cc
In file included from reentrantcorner.cc:40:
/export/home/mblatt/course-software/dune-pdelab/dune/pdelab/backend/istlmatrixbackend.hh:5:18: error: /export/home/mblatt/course-software/dune-
grid/utility: Is a directory


I would propose to rename the directory, but I do not know how big the impact on the rest of DUNE is. BTW What is it for anyway? Maybe someone can enlighten me in this regard!

Opinions?
-------

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

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