From: Wolfgang Bangerth Date: Sat, 18 Sep 2004 19:39:30 +0000 (+0000) Subject: We need an initializer for some compilers. The actual data element is unused, though. X-Git-Tag: v8.0.0~14836 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=910ccce0a828eb0090ce6f1fbedfbadf227b65be;p=dealii.git We need an initializer for some compilers. The actual data element is unused, though. git-svn-id: https://svn.dealii.org/trunk@9633 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe_dgp_1d.cc b/deal.II/deal.II/source/fe/fe_dgp_1d.cc index 656f16c269..26c435db30 100644 --- a/deal.II/deal.II/source/fe/fe_dgp_1d.cc +++ b/deal.II/deal.II/source/fe/fe_dgp_1d.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 by the deal.II authors +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -162,7 +162,7 @@ sizeof(FE_DGP<1>::Matrices::embedding[0]); */ template <> -const double * const FE_DGP<1>::Matrices::projection_matrices[][GeometryInfo<1>::children_per_cell]; +const double * const FE_DGP<1>::Matrices::projection_matrices[][GeometryInfo<1>::children_per_cell] = {{0}}; template <> const unsigned int FE_DGP<1>::Matrices::n_projection_matrices diff --git a/deal.II/deal.II/source/fe/fe_dgp_2d.cc b/deal.II/deal.II/source/fe/fe_dgp_2d.cc index 0fa32d7334..6873e325d5 100644 --- a/deal.II/deal.II/source/fe/fe_dgp_2d.cc +++ b/deal.II/deal.II/source/fe/fe_dgp_2d.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 by the deal.II authors +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -519,7 +519,7 @@ sizeof(FE_DGP<2>::Matrices::embedding[0]); */ template <> -const double * const FE_DGP<2>::Matrices::projection_matrices[][GeometryInfo<2>::children_per_cell]; +const double * const FE_DGP<2>::Matrices::projection_matrices[][GeometryInfo<2>::children_per_cell] = {{0}}; template <> const unsigned int FE_DGP<2>::Matrices::n_projection_matrices diff --git a/deal.II/deal.II/source/fe/fe_dgp_3d.cc b/deal.II/deal.II/source/fe/fe_dgp_3d.cc index c6af647cf1..8e418937c3 100644 --- a/deal.II/deal.II/source/fe/fe_dgp_3d.cc +++ b/deal.II/deal.II/source/fe/fe_dgp_3d.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 by the deal.II authors +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -804,7 +804,7 @@ sizeof(FE_DGP<3>::Matrices::embedding[0]); */ template <> -const double * const FE_DGP<3>::Matrices::projection_matrices[][GeometryInfo<3>::children_per_cell]; +const double * const FE_DGP<3>::Matrices::projection_matrices[][GeometryInfo<3>::children_per_cell] = {{0}}; template <> const unsigned int FE_DGP<3>::Matrices::n_projection_matrices