errcodr.h

来自「开放源码的编译器open watcom 1.6.0版的源代码」· C头文件 代码 · 共 447 行

H
447
字号
/****************************************************************************
*
*                            Open Watcom Project
*
*    Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
*  ========================================================================
*
*    This file contains Original Code and/or Modifications of Original
*    Code as defined in and that are subject to the Sybase Open Watcom
*    Public License version 1.0 (the 'License'). You may not use this file
*    except in compliance with the License. BY USING THIS FILE YOU AGREE TO
*    ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
*    provided with the Original Code and Modifications, and is also
*    available at www.sybase.com/developer/opensource.
*
*    The Original Code and all software distributed under the License are
*    distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
*    EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
*    ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
*    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
*    NON-INFRINGEMENT. Please see the License for the specific language
*    governing rights and limitations under the License.
*
*  ========================================================================
*
* Description:  WHEN YOU FIGURE OUT WHAT THIS FILE DOES, PLEASE
*               DESCRIBE IT HERE!
*
****************************************************************************/


#define    NO_CARROT  0
#define    OPR_CARROT 1
#define    OPN_CARROT 2
#define    AR_BAD_COUNT 0
#define    AR_DUPLICATE_PARM 1
#define    AR_ENTRY_TOO_LATE 12
#define    BD_BLKDAT_NOT_COMMON 256
#define    BD_IN_BLOCK_DATA 257
#define    CC_BAD_CHAR 512
#define    CC_NOT_DIGITS 513
#define    CC_NOT_INITIAL 514
#define    CC_SET_EXTEND 515
#define    CC_STMTNO_ON_CONT 516
#define    CC_TOO_MANY_CONT 517
#define    CC_EOL_COMMENT 518
#define    CC_D_IN_COLUMN_1 519
#define    CC_CONT_OVERFLOW 520
#define    CM_ALREADY_IN_COM 768
#define    CM_COMMON 769
#define    CM_MIXED_COMMON 770
#define    CM_NAMED_DIFF_SIZE 771
#define    CM_BLKDATA_ALREADY 772
#define    CM_BLANK_DIFF_SIZE 773
#define    CN_DOUBLE_COMPLEX 1024
#define    CN_FLOAT 1025
#define    CN_ZERO_LEN 1026
#define    CN_BAD_HEX_OCT 1027
#define    CN_HEX_OCT 1028
#define    CO_ALREADY_OPEN 1280
#define    CO_BAD_NO 1281
#define    CO_NEED_EQUALS 1282
#define    CO_WANT_NUMBER 1283
#define    CO_NOT_RECOG 1284
#define    CO_NOT_IN_SOURCE 1285
#define    CO_MACRO_NESTING_EXCEEDED 1286
#define    CO_MACRO_STRUCTURE_MISMATCH 1287
#define    CP_BAD_PARM_REGISTER 1537
#define    CP_BAD_RETURN_REGISTER 1538
#define    CP_LOW_ON_MEMORY 1539
#define    CP_BACK_END_ERROR 1540
#define    CP_BAD_SAVE 1541
#define    CP_ERROR 1542
#define    CP_FATAL_ERROR 1543
#define    CP_MEMORY_NOT_FREED 1544
#define    CP_FREEING_UNOWNED_MEMORY 1545
#define    CP_AUTO_EQUIV_TOO_LARGE 1546
#define    CP_AUTO_RET_TOO_LARGE 1547
#define    CP_AUTO_VAR_TOO_LARGE 1548
#define    CV_BAD_LEN 1792
#define    CV_CHARSTAR_ILLEGAL 1793
#define    DA_BAD_DO_VAR 2048
#define    DA_BAD_RPT_SPEC 2049
#define    DA_BAD_VAR_IN_EXPR 2050
#define    DA_BLANK_INIT 2051
#define    DA_HEX_CONST 2052
#define    DA_ILL_NAME 2053
#define    DA_IN_TYPE_STMT 2054
#define    DA_NOT_ENOUGH 2055
#define    DA_TOO_MUCH 2057
#define    DA_TYPE_MISMATCH 2059
#define    DM_SYM_PARM 2304
#define    DO_BACKWARDS_DO 2560
#define    DO_ENDING_BAD 2561
#define    DO_NESTING_BAD 2562
#define    DO_BAD_ENDDO 2563
#define    DO_DO_EXT 2564
#define    DO_NO_COMMA_OR_VAR 2565
#define    DO_PARM_REDEFINED 2566
#define    EC_PAST_BEG 2816
#define    EC_2NAM_EC 2817
#define    EN_NO_END 3072
#define    EQ_BAD_TARGET 3328
#define    EQ_CANNOT_ASSIGN 3329
#define    EQ_ILL_EQ_SIGN 3330
#define    EQ_MULT_ASSGN 3331
#define    EQ_NO_EQUALS 3332
#define    EV_DIFF_REL_POS 3584
#define    EV_EQUIV_LIST 3585
#define    EV_SSCR_INVALID 3586
#define    EV_SSTR_INVALID 3587
#define    EV_MIXED_EQUIV 3588
#define    EV_ONLY_IF_CHAR 3589
#define    EX_Z_2_NOT_POS 3840
#define    EY_TYPE_MISMATCH 4096
#define    EY_NOT_IN_CS 4097
#define    EY_SIZE_MISMATCH 4098
#define    FM_ASSUME_COMMA 4352
#define    FM_CONST 4353
#define    FM_D_EXT 4354
#define    FM_DECIMAL 4355
#define    FM_DELIM 4356
#define    FM_FMTCHAR 4357
#define    FM_INV_REP 4358
#define    FM_M_EXT 4359
#define    FM_MODIFIER 4360
#define    FM_NO_EOS 4361
#define    FM_NO_REP 4362
#define    FM_NO_STMTNO 4363
#define    FM_QUOTE 4364
#define    FM_SPEC_256 4365
#define    FM_WIDTH 4366
#define    FM_Z_EXT 4367
#define    FM_ASSUME_CONST 4371
#define    FM_Q_EXT 4372
#define    FM_Q_FORMAT 4373
#define    GO_ASSIGNED_BAD 4608
#define    GO_CANNOT_ASSIGN 4609
#define    GO_NO_TO 4610
#define    HO_CONST 4864
#define    HO_CUT_OFF 4865
#define    IF_ELSE_LAST 5120
#define    IF_NO_THEN 5121
#define    IL_BAD_FMT_SPEC 5376
#define    IL_BAD_INTL 5377
#define    IL_BAD_LIST 5378
#define    IL_BAD_SIZE 5379
#define    IL_CTRL_LIST 5380
#define    IL_DUP_LIST 5381
#define    IL_EMPTY_IMP_DO 5382
#define    IL_ILST 5383
#define    IL_NO_ASTERISK 5384
#define    IL_NO_UNIT_ID 5385
#define    IL_NO_FILE_OR_UNIT 5386
#define    IL_STAR_NOT_ALLOWED 5387
#define    IL_UNIT_AND_FILE 5388
#define    IL_AINTL 5389
#define    IL_END_REC 5390
#define    IL_SPECIFIER_NOT_STANDARD 5391
#define    IL_NO_IOLIST 5392
#define    IL_NON_CHARACTER 5393
#define    IM_ILLEGAL_RANGE 5632
#define    IM_PREV_IMPLICIT 5633
#define    IM_UNRECOG_TYPE 5634
#define    IM_CHAR_STAR_STAR 5635
#define    IM_NONE_USED 5636
#define    KO_FDIV_ZERO 6144
#define    KO_FOVERFLOW 6145
#define    KO_FUNDERFLOW 6146
#define    KO_IDIV_ZERO 6147
#define    KO_INTERRUPT 6148
#define    KO_IOVERFLOW 6149
#define    LI_CHAR_BOUND 6404
#define    LI_2_CMPLX 6405
#define    LI_CMPLX_TYPES 6406
#define    LI_EXP_CNV_TYPE 6407
#define    LI_ILL_PARM_CODE 6409
#define    LI_NO_PARM 6410
#define    LI_NO_SPECIFIC 6411
#define    LI_NOT_PARM 6412
#define    LI_PT_MISMATCH 6413
#define    LI_WRONG_TYPE 6414
#define    LI_IF_NOT_STANDARD 6415
#define    LI_ARG_ALLOCATED 6416
#define    LI_ARG_ISIZEOF 6417
#define    MD_BAD_REL_OPN 6656
#define    MD_DBLE_WITH_CMPLX 6657
#define    MD_ILL_OPR 6658
#define    MD_MIXED 6659
#define    MD_RELOP_OPND_COMPLEX 6660
#define    MD_UNARY_OP 6661
#define    MD_LOGOPR_INTOPN 6662
#define    MD_LOGOPR_EXTN 6663
#define    MO_COMPILER_LIMIT 6912
#define    MO_DYNAMIC_OUT 6913
#define    MO_LIST_TOO_BIG 6914
#define    PC_NO_CLOSEPAREN 7168
#define    PC_NO_OPENPAREN 7169
#define    PC_SURP_PAREN 7170
#define    PC_UNMATCH_PAREN 7171
#define    PR_SYMBOL_NAME 7424
#define    PR_BAD_PARM_SIZE 7425
#define    PR_BAD_PARM_ATTR 7426
#define    PR_BAD_CONTINUATION 7427
#define    PR_BAD_SYNTAX 7428
#define    PR_BYTE_SEQ_LIMIT 7429
#define    PR_BAD_BYTE_SEQ 7430
#define    PR_SYMBOL_UNRESOLVED 7431
#define    RE_ALT_IN_SUBROUTINE 7680
#define    RE_IN_PROGRAM 7681
#define    SA_COMBLK_EMPTY 7936
#define    SA_COMMON_NOT_SAVED 7937
#define    SA_SAVED 7938
#define    SF_DUPLICATE_DUMMY_PARM 8192
#define    SF_ILL_CHAR_LEN 8193
#define    SF_ILL_DUMMY_PARM 8194
#define    SF_ILL_PARM_PASSED 8195
#define    SF_PARM_TYPE_MISMATCH 8196
#define    SF_WRONG_NUM_PARMS 8197
#define    SF_ILL_TYPE 8198
#define    SM_IO_READ_ERR 8448
#define    SM_OPENING_FILE 8449
#define    SM_IO_WRITE_ERR 8450
#define    SM_OUT_OF_VM_FILES 8453
#define    SM_BROWSE_ERROR 8454
#define    SP_ATEND_AND_ENDEQUALS 8704
#define    SP_READ_NO_ATEND 8705
#define    SP_BAD_LABEL 8706
#define    SP_BAD_QUIT 8707
#define    SP_BLK_IN_STRUCTURE 8708
#define    SP_SELECT_THEN_CASE 8709
#define    SP_CASE_OVERLAP 8710
#define    SP_EMPTY_SELECT 8711
#define    SP_FROM_OUTSIDE 8712
#define    SP_INTO_STRUCTURE 8713
#define    SP_NEVER_CASE 8714
#define    SP_OTHERWISE_LAST 8715
#define    SP_OUT_OF_BLOCK 8716
#define    SP_RB_UNDEFINED 8717
#define    SP_RECURSE 8718
#define    SP_RET_IN_REMOTE 8719
#define    SP_STRUCTURED_EXT 8720
#define    SP_UNFINISHED 8721
#define    SP_UNMATCHED 8722
#define    SP_INCOMPLETE 8723
#define    SP_NOT_IN_STRUCTURE 8724
#define    SP_NO_SUCH_FIELD 8725
#define    SP_DUPLICATE_FIELD 8726
#define    SP_UNDEF_STRUCT 8727
#define    SP_STRUCT_DEFINED 8728
#define    SP_STRUCT_NEEDS_FIELD 8729
#define    SP_STRUCT_RECURSION 8730
#define    SP_STRUCT_HAS_UNION 8731
#define    SP_ALLOC_NOT_IN_STRUCT 8732
#define    SP_INTEGER_CONDITION 8733
#define    SP_STATEMENT_REQUIRED 8734
#define    SR_EXTRNED_TWICE 8960
#define    SR_ILL_CHARFUNC 8961
#define    SR_ILL_PARM 8962
#define    SR_INTRNSC_EXTRN 8963
#define    SR_NO_SUBRTN_NAME 8964
#define    SR_ILL_IN_PROG 8965
#define    SR_NOT_INTRNSC 8966
#define    SR_PREV_INTRNSC 8967
#define    SR_TRIED_RECURSION 8968
#define    SR_TWO_PROGRAMS 8969
#define    SR_TWO_UNNAMED 8970
#define    SR_FUNC_AS_SUB 8971
#define    SS_FUNCTION_VALUE 9216
#define    SS_ONLY_IF_CHAR 9217
#define    ST_ALREADY 9472
#define    ST_ASF_LATE 9473
#define    ST_BAD_BRANCHED 9474
#define    ST_CANNOT_BRANCH 9475
#define    ST_DATA_ALREADY 9476
#define    ST_EXPECT_FORMAT 9477
#define    ST_IMPLICIT_LATE 9478
#define    ST_NO_EXEC 9479
#define    ST_NO_STMTNO 9480
#define    ST_NOT_FORMAT 9481
#define    ST_SPEC_LATE 9482
#define    ST_NOT_ALLOWED 9483
#define    ST_NUM_TOO_BIG 9484
#define    ST_NUM_ZERO 9485
#define    ST_TO_SELF 9486
#define    ST_UNDEFINED 9487
#define    ST_UNKNOWN_STMT 9488
#define    ST_UNREFERENCED 9489
#define    ST_WANT_NAME 9490
#define    ST_LONG_NUM 9491
#define    ST_DATA_TOO_EARLY 9492
#define    SV_ARR_DECL 9728
#define    SV_ARR_PARM 9729
#define    SV_BAD_SSCR 9730
#define    SV_INV_SSCR 9731
#define    SV_NO_LIST 9732
#define    SV_TRIED_SSTR 9733
#define    SV_PVD 9734
#define    SV_CANT_USE_ASSUMED 9735
#define    SV_DIMENSION_LIMIT 9736
#define    SX_UNEXPECTED_OPN 9984
#define    SX_BAD_OPR_SEQ 9985
#define    SX_INV_OPR 9986
#define    SX_JUNK_AFTER_RBR 9987
#define    SX_NO_ASTERISK 9988
#define    SX_NO_COLON 9989
#define    SX_NO_EOS_OR_COLON 9990
#define    SX_MISSING_COMMA 9991
#define    SX_EOS_EXPECTED 9992
#define    SX_NO_INTEGER_VAR 9993
#define    SX_NO_NAME 9994
#define    SX_EXPECT_INT 9995
#define    SX_NO_NUMBER_VAR 9996
#define    SX_NO_OPR 9997
#define    SX_NO_SLASH 9998
#define    SX_WRONG_TYPE 9999
#define    SX_NOT_CONST_EXPR 10000
#define    SX_NOT_SIMPLE_NUMBER 10001
#define    SX_NUM_OR_LIT 10002
#define    SX_SURP_OPR 10003
#define    SX_QUOTE 10004
#define    SX_CONST 10005
#define    SX_EXPECT_CHAR_CONST 10006
#define    TY_CHAR_BEFORE_PAREN 10240
#define    TY_ILL_TYP_SIZE 10241
#define    TY_LEN_SPEC 10242
#define    TY_NOT_DBL_PREC 10243
#define    TY_TYP_PREV_DEF 10244
#define    TY_UNDECLARED 10245
#define    TY_ILL_USE 10246
#define    VA_ILL_USE 10752
#define    VA_NAME_LEN_EXT 10753
#define    VA_PREV_DEF_NAM 10754
#define    VA_UNDEFINED 10755
#define    VA_UNREFERENCED 10756
#define    VA_SAME_NAMELIST 10757
#define    VA_USED_NOT_DEFINED 10758
#define    VA_ALLOCATABLE_STORAGE 10759
#define    VA_BAD_SYM_IN_NAMELIST 10760
#define    MS_USAGE_LINE 11008
#define    MS_OPT_LIST 11010
#define    MS_OPT_PRINT 11011
#define    MS_OPT_TYPE 11012
#define    MS_OPT_DISK 11013
#define    MS_OPT_ERRFILE 11014
#define    MS_OPT_EXT 11015
#define    MS_OPT_REFERENCE 11016
#define    MS_OPT_WARN 11017
#define    MS_OPT_SHORT 11018
#define    MS_OPT_INCLIST 11019
#define    MS_OPT_TERM 11020
#define    MS_OPT_EXPLICIT 11021
#define    MS_OPT_XLINE 11022
#define    MS_OPT_DEBUG 11024
#define    MS_OPT_DEFINE 11025
#define    MS_OPT_EXTEND_FORMAT 11026
#define    MS_OPT_WILD 11027
#define    MS_OPT_SYNTAX 11044
#define    MS_OPT_DFLT_LIB 11045
#define    MS_CGOPT_DB_LINE 11053
#define    MS_CGOPT_DB_LOCALS 11054
#define    MS_OZOPT_O_CALL_RET 11056
#define    MS_OZOPT_O_DISABLE 11057
#define    MS_OZOPT_O_INLINE 11059
#define    MS_OZOPT_O_LOOP 11060
#define    MS_OZOPT_O_MATH 11061
#define    MS_OZOPT_O_NUMERIC 11062
#define    MS_OZOPT_O_VOLATILE 11063
#define    MS_OZOPT_O_INSSCHED 11064
#define    MS_OZOPT_O_SPACE 11065
#define    MS_OZOPT_O_TIME 11066
#define    MS_OZOPT_O_X 11069
#define    MS_CGOPT_DATA_THRESH 11071
#define    MS_OPT_AUTOMATIC 11072
#define    MS_OPT_DESCRIPTOR 11073
#define    MS_OPT_SAVE 11074
#define    MS_CGOPT_OBJ_NAME 11075
#define    MS_CGOPT_BW 11085
#define    MS_CGOPT_BM 11087
#define    MS_CGOPT_BD 11089
#define    MS_STRUCT_DEFN 11104
#define    MS_GROUP_NAME 11105
#define    MS_STMT_FUNC 11106
#define    MS_STMT_FUNC_DEFN 11107
#define    MS_SIMP_VAR 11108
#define    MS_COM_VAR 11109
#define    MS_EQUIV_VAR 11110
#define    MS_SP_ARG 11111
#define    MS_SF_ARG 11112
#define    MS_ARRAY 11113
#define    MS_ALLOC_ARRAY 11114
#define    MS_VAR_ARR 11115
#define    MS_INTR_FUNC 11116
#define    MS_EXT_PROC 11117
#define    MS_ASSIGN 11119
#define    MS_ARITH_IF 11120
#define    MS_AT_EOSTMT 11121
#define    MS_DEF_SPROG 11122
#define    MS_LIB_MEMBER 11123
#define    MS_COLUMN 11124
#define    MS_IN 11125
#define    MS_STATISTICS 11129
#define    MS_CODE_SIZE 11130
#define    MS_NUMBER_OF_ERRORS 11131
#define    MS_COMPILE_TIME 11132
#define    MS_NUMBER_OF_WARNINGS 11133
#define    MS_NUMBER_OF_STATEMENTS 11134
#define    MS_NUMBER_OF_EXTENSIONS 11135
#define    MS_CTG_FILE_MANAGEMENT 11169
#define    MS_CTG_DIAGNOSTIC 11170
#define    MS_CTG_DEBUGGING 11171
#define    MS_CTG_MISC 11172
#define    MS_CTG_FPUOPTS 11173
#define    MS_CTG_OPTIMIZATIONS 11174
#define    MS_CTG_MEMORY_MODELS 11175
#define    MS_CTG_CPU 11176
#define    CL_CTG_COMPILE_AND_LINK 11177
#define    MS_OPT_TRACE 11200
#define    MS_OPT_BOUNDS 11201
#define    MS_CTG_DBCS 11202
#define    MS_OPT_CHINESE 11203
#define    MS_OPT_JAPANESE 11204
#define    MS_OPT_KOREAN 11205
#define    MS_OPT_DEPENDENCY 11206
#define    MS_CTG_APPTYPE 11207
#define    MS_OPT_RESOURCES 11208
#define    MS_OPT_UNIT_6_CC 11209
#define    MS_OPT_QUIET 11210
#define    MS_OPT_BROWSE 11216
#define    MS_OPT_EXTEND_REAL 11217
#define    MS_OZOPT_O_UNROLL 11218
#define    MS_CGOPT_ALIGN 11219
#define    MS_OPT_LF_WITH_FF 11220
#define    MS_CGOPT_DI_WATCOM 11221
#define    MS_CGOPT_DI_DWARF 11222
#define    MS_CGOPT_DI_CV 11223
#define    MS_OZOPT_O_FASTDO 11226
#define    MS_OPT_INCPATH 11227
#define    MS_OZOPT_O_BRANCH_PREDICTION 11229
#define    MS_CGOPT_MANGLE 11230
#define    MS_OPT_PROMOTE 11231
#define    MS_OPT_COMMA_SEP 11232
#define    MS_OZOPT_O_SUPER_OPTIMAL 11235
#define    MS_OZOPT_O_FLOW_REG_SAVES 11236
#define    MS_OZOPT_O_LOOP_INVAR 11237

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?