Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
erlib.h
Go to the documentation of this file.
00001 /*
00002 
00003   Copyright (C) 2000, 2001 Silicon Graphics, Inc.  All Rights Reserved.
00004 
00005   This program is free software; you can redistribute it and/or modify it
00006   under the terms of version 2 of the GNU General Public License as
00007   published by the Free Software Foundation.
00008 
00009   This program is distributed in the hope that it would be useful, but
00010   WITHOUT ANY WARRANTY; without even the implied warranty of
00011   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
00012 
00013   Further, this software is distributed without any warranty that it is
00014   free of the rightful claim of any third person regarding infringement 
00015   or the like.  Any license provided herein, whether implied or 
00016   otherwise, applies only to this software file.  Patent licenses, if 
00017   any, provided herein do not apply to combinations of this program with 
00018   other software, or any other product whatsoever.  
00019 
00020   You should have received a copy of the GNU General Public License along
00021   with this program; if not, write the Free Software Foundation, Inc., 59
00022   Temple Place - Suite 330, Boston MA 02111-1307, USA.
00023 
00024   Contact information:  Silicon Graphics, Inc., 1600 Amphitheatre Pky,
00025   Mountain View, CA 94043, or:
00026 
00027   http://www.sgi.com
00028 
00029   For further information regarding this notice, see:
00030 
00031   http://oss.sgi.com/projects/GenInfo/NoticeExplan
00032 
00033 */
00034 
00035 
00036 #ifndef erlib_INCLUDED
00037 #define erlib_INCLUDED
00038 #ifdef __cplusplus
00039 extern "C" {
00040 #endif
00041 
00042 /* ====================================================================
00043  * ====================================================================
00044  *
00045  *
00046  * Revision history:
00047  *  08-Sep-89 - Original Version
00048  *  24-Jan-91 - Copied for TP/Muse
00049  *
00050  * Description:
00051  *
00052  * Define the program librarian and interprocedural analysis error
00053  * codes for use with the error message handler errors.c.  The
00054  * associated error descriptors may be found in the file erlib.desc.
00055  *
00056  * ====================================================================
00057  * ====================================================================
00058  */
00059 
00060 
00061 #ifdef _KEEP_RCS_ID
00062 #endif /* _KEEP_RCS_ID */
00063 
00064 #include "errors.h"     /* Always needed */
00065 
00066 /* The error codes in each erxxx.h file should start from some multiple
00067  * of 1000, which is the phase number.
00068  */
00069 #define EC_BASE_LIB     EP_LIB*1000
00070 
00071 /* File manipulation error codes: */
00072 #define EC_Lib_Exists   EC_BASE_LIB             /* str */
00073 #define EC_Lib_Open     EC_BASE_LIB+1           /* str, err */
00074 #define EC_Lib_Create   EC_BASE_LIB+2           /* str, err */
00075 #define EC_Lib_Delete   EC_BASE_LIB+3           /* str, err */
00076 #define EC_Lib_Close    EC_BASE_LIB+4           /* str, err */
00077 #define EC_No_Lib       EC_BASE_LIB+5           /* str */
00078 #define EC_Obj_Exists   EC_BASE_LIB+10          /* str */
00079 #define EC_Obj_Open     EC_BASE_LIB+11          /* str, err */
00080 #define EC_Obj_Create   EC_BASE_LIB+12          /* str, err */
00081 #define EC_Obj_Delete   EC_BASE_LIB+13          /* str, err */
00082 #define EC_Obj_Close    EC_BASE_LIB+14          /* str, err */
00083 #define EC_No_Obj       EC_BASE_LIB+15          /* str */
00084 #define EC_Invalidated  EC_BASE_LIB+16          /* str */
00085 #define EC_Lib_Missing_Body EC_BASE_LIB+17      /* str */
00086 #define EC_Lib_Invalid_PU       EC_BASE_LIB+18          /* str */
00087 #define EC_Lib_Version  EC_BASE_LIB+19          /* int */
00088 #define EC_Lib_Invalidating_File  EC_BASE_LIB+20        /* str */
00089 
00090 /* Interprocedural analysis: */
00091 
00092 /* Sparse bit vector manipulation: */
00093 #define EC_SBV_Ill_Elmt EC_BASE_LIB+50          /* int, int */
00094 
00095 #ifdef __cplusplus
00096 }
00097 #endif
00098 #endif /* erlib_INCLUDED */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines