00001 /*----------------------------------------------------------------------------*\ 00002 ______ _ ____ __ __ 00003 | ____| _| |_ / __ \ /\ | \/ | 00004 | |__ _ __ ___ ___ / \| | | | / \ | \ / | 00005 | __| '__/ _ \/ _ ( (| |) ) | | |/ /\ \ | |\/| | 00006 | | | | | __/ __/\_ _/| |__| / ____ \| | | | 00007 |_| |_| \___|\___| |_| \____/_/ \_\_| |_| 00008 00009 FreeFOAM: The Cross-Platform CFD Toolkit 00010 00011 Copyright (C) 2008-2012 Michael Wild <themiwi@users.sf.net> 00012 Gerber van der Graaf <gerber_graaf@users.sf.net> 00013 -------------------------------------------------------------------------------- 00014 License 00015 This file is part of FreeFOAM. 00016 00017 FreeFOAM is free software: you can redistribute it and/or modify it 00018 under the terms of the GNU General Public License as published by 00019 the Free Software Foundation, either version 3 of the License, or 00020 (at your option) any later version. 00021 00022 FreeFOAM is distributed in the hope that it will be useful, but WITHOUT 00023 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00024 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00025 for more details. 00026 00027 You should have received a copy of the GNU General Public License 00028 along with FreeFOAM. If not, see <http://www.gnu.org/licenses/>. 00029 00030 \*----------------------------------------------------------------------------*/ 00031 00032 #include <OpenFOAM/error.H> 00033 00034 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00035 00036 void Foam::error::printStack(Ostream& os) 00037 { 00038 os << "* This version of FreeFoam does not support creating a *\n" 00039 "* backtrace by itself to help locating the problem. This *\n" 00040 "* may be because FreeFOAM was not compiled as a debug *\n" 00041 "* version, no GNU compiler was used or your operating *\n" 00042 "* system doesn't provide the necessary functionality. You *\n" 00043 "* may still obtain a backtrace on Unix like operating *\n" 00044 "* systems (such as Linux or Mac OS X 10.5) by having the *\n" 00045 "* operating system create a core dump of the crashed *\n" 00046 "* program and inspecting it using a debugger, such as GDB. *\n"; 00047 } 00048 00049 // ************************ vim: set sw=4 sts=4 et: ************************ //