Package: libmedc-dev Version: 2.3.5-2 Severity: important Greetings,
#include <med.h> does not work from C++ programs without extern "C"{}
around it.
Trouble is, med.h #includes mpi.h, which *must* not be in an extern
"C"{} block. See
http://www.open-mpi.org/community/lists/users/2007/12/4763.php for
details.
So the only way for a C++ program to #include <med.h> is the following
kludgey workaround:
#include <mpi.h>
extern "C" {
#include <med.h>
}
Please forward this upstream. I would be happy to make a patch if you
like.
Thanks,
Adam
--
GPG fingerprint: D54D 1AEE B11C CE9B A02B C5DD 526F 01E8 564E E4B6
Engineering consulting with open source tools
http://www.opennovation.com/
signature.asc
Description: This is a digitally signed message part

