From a6f0302d303a45178043a8a7af3e4d49ee60e7ef Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Mon, 28 Feb 2005 20:11:15 +0000 Subject: [PATCH] remove check not working with gcc 2.95 git-svn-id: https://svn.dealii.org/trunk@9930 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/grid/grid_in.cc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/deal.II/deal.II/source/grid/grid_in.cc b/deal.II/deal.II/source/grid/grid_in.cc index 5c2d81d17b..e505c4d831 100644 --- a/deal.II/deal.II/source/grid/grid_in.cc +++ b/deal.II/deal.II/source/grid/grid_in.cc @@ -998,12 +998,13 @@ void GridIn::read (const std::string& filename, Assert (in.is_open(), ExcFileNotOpen(filename.c_str())); - if (!in) - { - std::ios_base::iostate state = in.rdstate(); - std::cerr << "File open, but error " << state << std::endl; - exit(1); - } +//TODO:[GK] Do we really need the following, which does not compile with gcc 2.95? +// if (!in) +// { +// std::ios_base::iostate state = in.rdstate(); +// std::cerr << "File open, but error " << state << std::endl; +// exit(1); +// } read(in, format); in.close(); -- 2.39.5