From 062870d52ff22121df104af90dc1350181a01622 Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 17 Jan 2008 23:47:31 +0000 Subject: [PATCH] Remove the empty function we used to place into object files if the rest of the file was commented out with #ifdef ... #endif. This was necessary back in the days with gcc 2.95 on Dec Alpha, but we don't use that compiler any more and the number of these systems in the wild is probably miniscule as well. git-svn-id: https://svn.dealii.org/trunk@15631 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/fe/fe_nedelec_1d.cc | 6 +----- deal.II/deal.II/source/fe/fe_nedelec_2d.cc | 6 +----- deal.II/deal.II/source/fe/fe_nedelec_3d.cc | 6 +----- deal.II/lac/source/petsc_block_sparse_matrix.cc | 6 +----- deal.II/lac/source/petsc_full_matrix.cc | 6 +----- deal.II/lac/source/petsc_matrix_base.cc | 6 +----- deal.II/lac/source/petsc_parallel_block_vector.cc | 6 +----- deal.II/lac/source/petsc_parallel_sparse_matrix.cc | 6 +----- deal.II/lac/source/petsc_parallel_vector.cc | 6 +----- deal.II/lac/source/petsc_precondition.cc | 6 +----- deal.II/lac/source/petsc_solver.cc | 6 +----- deal.II/lac/source/petsc_sparse_matrix.cc | 6 +----- deal.II/lac/source/petsc_vector.cc | 6 +----- deal.II/lac/source/petsc_vector_base.cc | 6 +----- 14 files changed, 14 insertions(+), 70 deletions(-) diff --git a/deal.II/deal.II/source/fe/fe_nedelec_1d.cc b/deal.II/deal.II/source/fe/fe_nedelec_1d.cc index d03f549421..9a74b050f2 100644 --- a/deal.II/deal.II/source/fe/fe_nedelec_1d.cc +++ b/deal.II/deal.II/source/fe/fe_nedelec_1d.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2002, 2003, 2004, 2005, 2006 by the deal.II authors +// Copyright (C) 2002, 2003, 2004, 2005, 2006, 2008 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -47,9 +47,5 @@ FE_Nedelec<1>::Matrices::constraint_matrices[] = {0}; DEAL_II_NAMESPACE_CLOSE -#else // #if deal_II_dimension -// On gcc2.95 on Alpha OSF1, the native assembler does not like empty -// files, so provide some dummy code -namespace { void dummy () {} } #endif // #if deal_II_dimension == 1 diff --git a/deal.II/deal.II/source/fe/fe_nedelec_2d.cc b/deal.II/deal.II/source/fe/fe_nedelec_2d.cc index 2dbf6c59b7..30aa812bfe 100644 --- a/deal.II/deal.II/source/fe/fe_nedelec_2d.cc +++ b/deal.II/deal.II/source/fe/fe_nedelec_2d.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2002, 2003, 2005, 2006 by the deal.II authors +// Copyright (C) 2002, 2003, 2005, 2006, 2008 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -133,8 +133,4 @@ sizeof(FE_Nedelec<2>::Matrices::constraint_matrices[0]); DEAL_II_NAMESPACE_CLOSE -#else // #if deal_II_dimension -// On gcc2.95 on Alpha OSF1, the native assembler does not like empty -// files, so provide some dummy code -namespace { void dummy () {} } #endif // #if deal_II_dimension == 2 diff --git a/deal.II/deal.II/source/fe/fe_nedelec_3d.cc b/deal.II/deal.II/source/fe/fe_nedelec_3d.cc index ba4326da90..a61adb329b 100644 --- a/deal.II/deal.II/source/fe/fe_nedelec_3d.cc +++ b/deal.II/deal.II/source/fe/fe_nedelec_3d.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2002, 2003, 2005, 2006 by the deal.II authors +// Copyright (C) 2002, 2003, 2005, 2006, 2008 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -236,8 +236,4 @@ sizeof(FE_Nedelec<3>::Matrices::constraint_matrices[0]); DEAL_II_NAMESPACE_CLOSE -#else // #if deal_II_dimension -// On gcc2.95 on Alpha OSF1, the native assembler does not like empty -// files, so provide some dummy code -namespace { void dummy () {} } #endif // #if deal_II_dimension == 3 diff --git a/deal.II/lac/source/petsc_block_sparse_matrix.cc b/deal.II/lac/source/petsc_block_sparse_matrix.cc index 4017e65391..a4c3a8fc4d 100644 --- a/deal.II/lac/source/petsc_block_sparse_matrix.cc +++ b/deal.II/lac/source/petsc_block_sparse_matrix.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2004, 2005, 2006 by the deal.II authors +// Copyright (C) 2004, 2005, 2006, 2008 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -98,8 +98,4 @@ 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 diff --git a/deal.II/lac/source/petsc_full_matrix.cc b/deal.II/lac/source/petsc_full_matrix.cc index d62c06fe1c..38645f961b 100644 --- a/deal.II/lac/source/petsc_full_matrix.cc +++ b/deal.II/lac/source/petsc_full_matrix.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2004, 2005, 2006 by the deal.II authors +// Copyright (C) 2004, 2005, 2006, 2008 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -43,8 +43,4 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE -#else -// On gcc2.95 on Alpha OSF1, the native assembler does not like empty -// files, so provide some dummy code -namespace { void dummy () {} } #endif // DEAL_II_USE_PETSC diff --git a/deal.II/lac/source/petsc_matrix_base.cc b/deal.II/lac/source/petsc_matrix_base.cc index 18f7408128..ff4b69f03b 100644 --- a/deal.II/lac/source/petsc_matrix_base.cc +++ b/deal.II/lac/source/petsc_matrix_base.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2004, 2005, 2006 by the deal.II authors +// Copyright (C) 2004, 2005, 2006, 2008 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -597,8 +597,4 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE -#else -// On gcc2.95 on Alpha OSF1, the native assembler does not like empty -// files, so provide some dummy code -namespace { void dummy () {} } #endif // DEAL_II_USE_PETSC diff --git a/deal.II/lac/source/petsc_parallel_block_vector.cc b/deal.II/lac/source/petsc_parallel_block_vector.cc index f1e25e0671..9c074a14e8 100644 --- a/deal.II/lac/source/petsc_parallel_block_vector.cc +++ b/deal.II/lac/source/petsc_parallel_block_vector.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2004, 2005, 2006 by the deal.II authors +// Copyright (C) 2004, 2005, 2006, 2008 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -41,8 +41,4 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE -#else -// On gcc2.95 on Alpha OSF1, the native assembler does not like empty -// files, so provide some dummy code -namespace { void dummy () {} } #endif // DEAL_II_USE_PETSC diff --git a/deal.II/lac/source/petsc_parallel_sparse_matrix.cc b/deal.II/lac/source/petsc_parallel_sparse_matrix.cc index 17bdd2dd89..9ab68aec80 100644 --- a/deal.II/lac/source/petsc_parallel_sparse_matrix.cc +++ b/deal.II/lac/source/petsc_parallel_sparse_matrix.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2004, 2005, 2006 by the deal.II authors +// Copyright (C) 2004, 2005, 2006, 2008 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -451,8 +451,4 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE -#else -// On gcc2.95 on Alpha OSF1, the native assembler does not like empty -// files, so provide some dummy code -namespace { void dummy () {} } #endif // DEAL_II_USE_PETSC diff --git a/deal.II/lac/source/petsc_parallel_vector.cc b/deal.II/lac/source/petsc_parallel_vector.cc index 4c49bc7970..38b2efa4e1 100644 --- a/deal.II/lac/source/petsc_parallel_vector.cc +++ b/deal.II/lac/source/petsc_parallel_vector.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2004, 2006 by the deal.II authors +// Copyright (C) 2004, 2006, 2008 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -169,8 +169,4 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE -#else -// On gcc2.95 on Alpha OSF1, the native assembler does not like empty -// files, so provide some dummy code -namespace { void dummy () {} } #endif // DEAL_II_USE_PETSC diff --git a/deal.II/lac/source/petsc_precondition.cc b/deal.II/lac/source/petsc_precondition.cc index cb7d45c549..9219d5cc26 100644 --- a/deal.II/lac/source/petsc_precondition.cc +++ b/deal.II/lac/source/petsc_precondition.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2004, 2006 by the deal.II authors +// Copyright (C) 2004, 2006, 2008 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -349,8 +349,4 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE -#else -// On gcc2.95 on Alpha OSF1, the native assembler does not like empty -// files, so provide some dummy code -namespace { void dummy () {} } #endif // DEAL_II_USE_PETSC diff --git a/deal.II/lac/source/petsc_solver.cc b/deal.II/lac/source/petsc_solver.cc index dcda5b9d67..beaf53fa9f 100644 --- a/deal.II/lac/source/petsc_solver.cc +++ b/deal.II/lac/source/petsc_solver.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2004, 2006 by the deal.II authors +// Copyright (C) 2004, 2006, 2008 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -688,8 +688,4 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE -#else -// On gcc2.95 on Alpha OSF1, the native assembler does not like empty -// files, so provide some dummy code -namespace { void dummy () {} } #endif // DEAL_II_USE_PETSC diff --git a/deal.II/lac/source/petsc_sparse_matrix.cc b/deal.II/lac/source/petsc_sparse_matrix.cc index 5c5142dafc..ec84471f02 100644 --- a/deal.II/lac/source/petsc_sparse_matrix.cc +++ b/deal.II/lac/source/petsc_sparse_matrix.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2004, 2005, 2006 by the deal.II authors +// Copyright (C) 2004, 2005, 2006, 2008 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -234,8 +234,4 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE -#else -// On gcc2.95 on Alpha OSF1, the native assembler does not like empty -// files, so provide some dummy code -namespace { void dummy () {} } #endif // DEAL_II_USE_PETSC diff --git a/deal.II/lac/source/petsc_vector.cc b/deal.II/lac/source/petsc_vector.cc index b74db3a90c..e7773935a4 100644 --- a/deal.II/lac/source/petsc_vector.cc +++ b/deal.II/lac/source/petsc_vector.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2004, 2006 by the deal.II authors +// Copyright (C) 2004, 2006, 2008 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -111,8 +111,4 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE -#else -// On gcc2.95 on Alpha OSF1, the native assembler does not like empty -// files, so provide some dummy code -namespace { void dummy () {} } #endif // DEAL_II_USE_PETSC diff --git a/deal.II/lac/source/petsc_vector_base.cc b/deal.II/lac/source/petsc_vector_base.cc index 41e838b214..816ce19eda 100644 --- a/deal.II/lac/source/petsc_vector_base.cc +++ b/deal.II/lac/source/petsc_vector_base.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2004, 2005, 2006, 2007 by the deal.II authors +// Copyright (C) 2004, 2005, 2006, 2007, 2008 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -902,8 +902,4 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE -#else -// On gcc2.95 on Alpha OSF1, the native assembler does not like empty -// files, so provide some dummy code -namespace { void dummy () {} } #endif // DEAL_II_USE_PETSC -- 2.39.5