From: bangerth Date: Tue, 16 Jan 2007 22:21:26 +0000 (+0000) Subject: On Mac OSX, the linker complains about files with no symbols as well. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eed406b319df3ec58b29ff3bb6a6690b75238280;p=dealii-svn.git On Mac OSX, the linker complains about files with no symbols as well. git-svn-id: https://svn.dealii.org/trunk@14319 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/petsc_block_sparse_matrix.cc b/deal.II/lac/source/petsc_block_sparse_matrix.cc index d20c90708e..4017e65391 100644 --- a/deal.II/lac/source/petsc_block_sparse_matrix.cc +++ b/deal.II/lac/source/petsc_block_sparse_matrix.cc @@ -98,4 +98,8 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE +#else // #if DEAL_II_USE_PETSC +// On gcc2.95 on Alpha OSF1, the native assembler does not like empty +// files, so provide some dummy code +namespace { void dummy () {} } #endif