PoCC
Version 1.0
|
00001 /* 00002 * error.h: this file is part of the PoCC project. 00003 * 00004 * PoCC, the Polyhedral Compiler Collection package 00005 * 00006 * Copyright (C) 2009 Louis-Noel Pouchet 00007 * 00008 * This library is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU Lesser General Public License 00010 * as published by the Free Software Foundation; either version 2.1 00011 * of the License, or (at your option) any later version. 00012 * 00013 * This library is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 * Lesser General Public License for more details. 00017 * 00018 * The complete GNU General Public Licence Notice can be found as the 00019 * `COPYING.LESSER' file in the root directory. 00020 * 00021 * Author: 00022 * Louis-Noel Pouchet <Louis-Noel.Pouchet@inria.fr> 00023 * 00024 */ 00025 #ifndef POCC_ERROR_H 00026 # define POCC_ERROR_H 00027 00028 #include <pocc/common.h> 00029 00030 BEGIN_C_DECLS 00031 00032 extern void pocc_set_program_name (const char *argv0); 00033 00034 extern void pocc_warning (const char *message); 00035 extern void pocc_error (const char *message); 00036 extern void pocc_fatal (const char *message); 00037 00038 END_C_DECLS 00039 00040 00041 #endif // POCC_ERROR_H