From 051420ca19310ce3e4b5277be9727b4e2b9ce095 Mon Sep 17 00:00:00 2001
From: wolf
+ Using METIS requires some editing though: in the METIS header
+ Lib/proto.h
that is automatically include from METIS's main
+ header Lib/metis.h
, a number of functions from the C
+ standard lib are declared with signatures that differ from the ones in
+ the system headers (that alone is a good reason not to ever declare
+ system functions yourself, but oh well...) in that they do not have
+ exception specifications that are given in the system headers. With some
+ compilers, you will then get compilation errors on one or two deal.II
+ files. It is easy to work around this by first compiling METIS, then
+ trying to compile deal.II, and then simply remove each function
+ signature which the compiler complains about. The ones most likely
+ affected are srand48()
, drand48()
, and
+ log2
. Since you have already compile METIS and deal.II does
+ not need these function declarations itself, just removing their
+ declarations should not be a problem.
+
-- 2.39.5