From: guido Date: Mon, 28 Feb 2005 20:11:15 +0000 (+0000) Subject: remove check not working with gcc 2.95 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cc2ebba6a7868144fa563a747d28faf664193bd;p=dealii-svn.git remove check not working with gcc 2.95 git-svn-id: https://svn.dealii.org/trunk@9930 0785d39b-7218-0410-832d-ea1e28bc413d --- 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();