00001 /* 00002 Copyright 2003, 2004, 2005, 2006 PathScale, Inc. All Rights Reserved. 00003 File modified June 20, 2003 by PathScale, Inc. to update Open64 C/C++ 00004 front-ends to GNU 3.2.2 release. 00005 */ 00006 00007 /* 00008 00009 Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. 00010 00011 This program is free software; you can redistribute it and/or modify it 00012 under the terms of version 2 of the GNU General Public License as 00013 published by the Free Software Foundation. 00014 00015 This program is distributed in the hope that it would be useful, but 00016 WITHOUT ANY WARRANTY; without even the implied warranty of 00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00018 00019 Further, this software is distributed without any warranty that it is 00020 free of the rightful claim of any third person regarding infringement 00021 or the like. Any license provided herein, whether implied or 00022 otherwise, applies only to this software file. Patent licenses, if 00023 any, provided herein do not apply to combinations of this program with 00024 other software, or any other product whatsoever. 00025 00026 You should have received a copy of the GNU General Public License along 00027 with this program; if not, write the Free Software Foundation, Inc., 59 00028 Temple Place - Suite 330, Boston MA 02111-1307, USA. 00029 00030 Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pky, 00031 Mountain View, CA 94043, or: 00032 00033 http://www.sgi.com 00034 00035 For further information regarding this notice, see: 00036 00037 http://oss.sgi.com/projects/GenInfo/NoticeExplan 00038 00039 */ 00040 00041 00042 /* ==================================================================== 00043 * ==================================================================== 00044 * 00045 * 00046 * Module: erfe.h 00047 * $Revision: 1.6 $ 00048 * $Date: 05/06/21 17:21:29-07:00 $ 00049 * $Author: gautam@jacinth.keyresearch $ 00050 * $Source: kgccfe/SCCS/s.erfe.h $ 00051 * 00052 * Revision history: 00053 * 12-Sep-89 - Original Version 00054 * 11-Mar-91 - Copied for TP/Muse 00055 * 00056 * Description: 00057 * 00058 * Define the compiler front end error codes for use with the error 00059 * message handler errors.c. The associated error descriptors may be 00060 * found in the file erfe.desc. 00061 * 00062 * ==================================================================== 00063 * ==================================================================== 00064 */ 00065 00066 00067 #ifndef erfe_INCLUDED 00068 #define erfe_INCLUDED 00069 00070 #ifdef _KEEP_RCS_ID 00071 static char *erfe_rcs_id = "$Source: kgccfe/SCCS/s.erfe.h $ $Revision: 1.6 $"; 00072 #endif /* _KEEP_RCS_ID */ 00073 00074 #include "errors.h" /* Always needed */ 00075 00076 /* The error codes in each erxxx.h file should start from some multiple 00077 * of 1000, which is the phase number. 00078 */ 00079 #define EC_BASE_FE EP_FE*1000 00080 00081 #define EC_Not_Same_Type EC_BASE_FE+0 /* str */ 00082 #define EC_Not_Typed EC_BASE_FE+1 /* str */ 00083 #define EC_Dup_Decl EC_BASE_FE+2 /* str */ 00084 #define EC_Not_Class EC_BASE_FE+3 /* str */ 00085 #define EC_Undeclared EC_BASE_FE+4 /* str */ 00086 #define EC_Intcon_Expected EC_BASE_FE+5 /* str */ 00087 #define EC_Fltcon_Expected EC_BASE_FE+6 /* str */ 00088 #define EC_Return_Num EC_BASE_FE+7 /* int, int */ 00089 #define EC_Return_Type EC_BASE_FE+8 /* str */ 00090 #define EC_Missing_Spec EC_BASE_FE+9 /* str */ 00091 #define EC_Sets_Num EC_BASE_FE+10 /* int, int */ 00092 #define EC_Sets_Type EC_BASE_FE+11 /* str */ 00093 #define EC_Skip_Stmt EC_BASE_FE+12 /* str */ 00094 #define EC_Spec_Prev EC_BASE_FE+13 /* str */ 00095 #define EC_Int_Expected EC_BASE_FE+14 /* str,str */ 00096 #define EC_Spec_Lib EC_BASE_FE+15 /* str */ 00097 #define EC_Invalid_Regno EC_BASE_FE+16 /* str, int */ 00098 #define EC_GE_Only EC_BASE_FE+20 /* str */ 00099 #define EC_PE_Only EC_BASE_FE+21 /* str */ 00100 #define EC_Diff_Decl EC_BASE_FE+22 /* str */ 00101 #define EC_Flag_Var EC_BASE_FE+23 /* stab */ 00102 00103 #ifdef TARG_NVISA 00104 #define EC_Inline_Prototype EC_BASE_FE+24 /* str */ 00105 #define EC_Inline_Ptr EC_BASE_FE+25 /* str */ 00106 #define EC_Inline_Return_Values EC_BASE_FE+26 /* str */ 00107 #define EC_Inline_Parameters EC_BASE_FE+27 /* str */ 00108 #endif 00109 00110 #if defined(FRONT_END_C) || defined(FRONT_END_CPLUSPLUS) || \ 00111 defined(FRONT_END_FORTRAN) 00112 #define EC_Null_Backptr EC_BASE_FE+100 /* tree,str */ 00113 #endif /* FRONT_END_C || FRONT_END_CPLUSPLUS || FRONT_END_FORTRAN */ 00114 00115 #ifdef KEY 00116 #define EC_Unsupported_Type EC_BASE_FE+105 /* str */ 00117 #endif 00118 00119 #endif /* erfe_INCLUDED */
1.5.6