vogt...@gmail.com
unread,Jan 12, 2013, 7:11:07 PM1/12/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to herm...@googlegroups.com
Hi,
When I build with trilinos, there's the following failure:
/home/aavogt/wip/hermes/src/hermes-build/hermes_common/src/solvers/epetra.cpp:72:46: error: call of overloaded ‘Epetra_Map(unsigned int&, int, Epetra_SerialComm&)’ is ambiguous
/home/aavogt/wip/hermes/src/hermes-build/hermes_common/src/solvers/epetra.cpp:72:46: note: candidates are:
In file included from /home/aavogt/wip/hermes/src/hermes-build/hermes_common/include/solvers/epetra.h:28:0,
from /home/aavogt/wip/hermes/src/hermes-build/hermes_common/src/solvers/epetra.cpp:25:
/usr/include/Epetra_Map.h:146:3: note: Epetra_Map::Epetra_Map(long long int, int, const Epetra_Comm&)
/usr/include/Epetra_Map.h:143:3: note: Epetra_Map::Epetra_Map(int, int, const Epetra_Comm&)
Adding some casts (see attached diff) makes it compile at least.
I use:
g++ (GCC) 4.7.2
trilinos-11.0.3
Regards,
Adam