fpc/compiler/msgidx.inc
peter cb8aeb3fd6 * V_Fatal=1, all other V_ are also increased
* Check for local procedure when assigning procvar
  * fixed comment parsing because directives
  * oldtp mode directives better supported
  * added some messages to errore.msg
1999-08-05 16:52:53 +00:00

637 lines
16 KiB
SQL

type tmsgconst=(
general_t_compilername,
general_d_sourceos,
general_i_targetos,
general_t_exepath,
general_t_unitpath,
general_t_includepath,
general_t_librarypath,
general_t_objectpath,
general_i_abslines_compiled,
general_f_no_memory_left,
general_i_writingresourcefile,
general_e_errorwritingresourcefile,
scan_f_end_of_file,
scan_f_string_exceeds_line,
scan_f_illegal_char,
scan_f_syn_expected,
scan_t_start_include_file,
scan_w_comment_level,
scan_n_far_directive_ignored,
scan_n_stack_check_global_under_linux,
scan_n_ignored_switch,
scan_w_illegal_switch,
scan_w_switch_is_global,
scan_e_illegal_char_const,
scan_f_cannot_open_input,
scan_f_cannot_open_includefile,
scan_e_too_much_endifs,
scan_w_only_pack_records,
scan_w_only_pack_enum,
scan_e_endif_expected,
scan_e_preproc_syntax_error,
scan_e_error_in_preproc_expr,
scan_w_marco_cut_after_255_chars,
scan_e_endif_without_if,
scan_f_user_defined,
scan_e_user_defined,
scan_w_user_defined,
scan_n_user_defined,
scan_h_user_defined,
scan_i_user_defined,
scan_e_keyword_cant_be_a_macro,
scan_f_macro_buffer_overflow,
scan_w_macro_deep_ten,
scan_e_wrong_styled_switch,
scan_d_handling_switch,
scan_c_endif_found,
scan_c_ifdef_found,
scan_c_ifopt_found,
scan_c_if_found,
scan_c_ifndef_found,
scan_c_else_found,
scan_c_skipping_until,
scan_i_press_enter,
scan_w_unsupported_switch,
scan_w_illegal_directive,
scan_t_back_in,
scan_w_unsupported_app_type,
scan_w_app_type_not_support,
scan_w_unsupported_asmmode_specifier,
scan_w_no_asm_reader_switch_inside_asm,
scan_e_wrong_switch_toggle,
scan_e_resourcefiles_not_supported,
scan_w_include_env_not_found,
parser_e_syntax_error,
parser_w_proc_far_ignored,
parser_w_proc_near_ignored,
parser_w_proc_register_ignored,
parser_e_no_dll_file_specified,
parser_e_export_name_double,
parser_e_export_ordinal_double,
parser_e_export_invalid_index,
parser_e_constructorname_must_be_init,
parser_e_destructorname_must_be_done,
parser_e_illegal_open_parameter,
parser_e_proc_inline_not_supported,
parser_w_priv_meth_not_virtual,
parser_w_constructor_should_be_public,
parser_w_destructor_should_be_public,
parser_n_only_one_destructor,
parser_e_no_local_objects,
parser_f_no_anonym_objects,
parser_object_has_no_vmt,
parser_e_illegal_parameter_list,
parser_e_wrong_parameter_type,
parser_e_wrong_parameter_size,
parser_e_overloaded_no_procedure,
parser_e_overloaded_have_same_parameters,
parser_e_header_dont_match_forward,
parser_e_header_different_var_names,
parser_n_duplicate_enum,
parser_n_interface_name_diff_implementation_name,
parser_e_no_with_for_variable_in_other_segments,
parser_e_too_much_lexlevel,
parser_e_range_check_error,
parser_w_range_check_error,
parser_e_double_caselabel,
parser_e_case_lower_less_than_upper_bound,
parser_e_type_const_not_possible,
parser_e_no_overloaded_procvars,
parser_e_invalid_string_size,
parser_w_use_extended_syntax_for_objects,
parser_w_no_new_dispose_on_void_pointers,
parser_e_no_new_dispose_on_void_pointers,
parser_e_class_id_expected,
parser_e_no_type_not_allowed_here,
parser_e_methode_id_expected,
parser_e_header_dont_match_any_member,
parser_p_procedure_start,
parser_e_error_in_real,
parser_e_fail_only_in_constructor,
parser_e_no_paras_for_destructor,
parser_e_only_class_methods_via_class_ref,
parser_e_only_class_methods,
parser_e_case_mismatch,
parser_e_illegal_symbol_exported,
parser_w_should_use_override,
parser_e_nothing_to_be_overridden,
parser_e_no_procedure_to_access_property,
parser_w_stored_not_implemented,
parser_e_ill_property_access_sym,
parser_e_cant_access_protected_member,
parser_e_cant_access_private_member,
parser_w_overloaded_are_not_both_virtual,
parser_w_overloaded_are_not_both_non_virtual,
parser_e_overloaded_methodes_not_same_ret,
parser_e_dont_nest_export,
parser_e_methods_dont_be_export,
parser_e_call_by_ref_without_typeconv,
parser_e_no_super_class,
parser_e_self_not_in_method,
parser_e_generic_methods_only_in_methods,
parser_e_illegal_colon_qualifier,
parser_e_illegal_set_expr,
parser_e_pointer_to_class_expected,
parser_e_expr_have_to_be_constructor_call,
parser_e_expr_have_to_be_destructor_call,
parser_e_invalid_record_const,
parser_e_false_with_expr,
parser_e_void_function,
parser_e_constructors_always_objects,
parser_e_operator_not_overloaded,
parser_e_no_reraise_possible,
parser_e_no_new_or_dispose_for_classes,
parser_e_asm_incomp_with_function_return,
parser_e_procedure_overloading_is_off,
parser_e_overload_operator_failed,
parser_e_comparative_operator_return_boolean,
parser_e_only_virtual_methods_abstract,
parser_f_unsupported_feature,
parser_e_mix_of_classes_and_objects,
parser_w_unknown_proc_directive_ignored,
parser_e_absolute_only_one_var,
parser_e_absolute_only_to_var_or_const,
parser_e_initialized_only_one_var,
parser_e_abstract_no_definition,
parser_e_overloaded_must_be_all_global,
parser_w_virtual_without_constructor,
parser_m_macro_defined,
parser_m_macro_undefined,
parser_m_macro_set_to,
parser_i_compiling,
parser_d_compiling_second_time,
parser_e_no_paras_allowed,
parser_e_no_property_found_to_override,
parser_e_only_one_default_property,
parser_e_property_need_paras,
parser_e_constructor_cannot_be_not_virtual,
parser_e_no_default_property_available,
parser_e_cant_have_published,
parser_e_forward_declaration_must_be_resolved,
parser_e_no_local_operator,
parser_e_proc_dir_not_allowed_in_interface,
parser_e_proc_dir_not_allowed_in_implementation,
parser_e_proc_dir_not_allowed_in_procvar,
parser_e_function_already_declared_public_forward,
parser_e_not_external_and_export,
parser_e_name_keyword_expected,
parser_w_not_supported_for_inline,
parser_w_inlining_disabled,
parser_i_writing_browser_log,
parser_h_maybe_deref_caret_missing,
parser_f_assembler_reader_not_supported,
parser_e_proc_dir_conflict,
parser_e_call_convention_dont_match_forward,
parser_e_register_calling_not_supported,
parser_e_property_cant_have_a_default_value,
parser_e_property_default_value_must_const,
parser_e_cant_publish_that,
parser_e_cant_publish_that_property,
parser_w_empty_import_name,
parser_e_empty_import_name,
parser_e_used_proc_name_changed,
parser_e_division_by_zero,
parser_e_invalid_float_operation,
parser_e_array_lower_less_than_upper_bound,
parser_e_string_larger_array,
parser_e_ill_msg_expr,
parser_e_ill_msg_param,
parser_e_duplicate_message_label,
parser_e_self_in_non_message_handler,
parser_e_threadvars_only_sg,
parser_f_direct_assembler_not_allowed,
parser_w_no_objpas_use_mode,
parser_e_no_object_override,
parser_e_cant_use_inittable_here,
parser_e_resourcestring_only_sg,
parser_e_exit_with_argument_not__possible,
type_e_mismatch,
type_e_incompatible_types,
type_e_not_equal_types,
type_e_type_id_expected,
type_e_variable_id_expected,
type_e_integer_expr_expected,
type_e_boolean_expr_expected,
type_e_ordinal_expr_expected,
type_e_pointer_type_expected,
type_e_class_type_expected,
type_e_varid_or_typeid_expected,
type_e_cant_eval_constant_expr,
type_e_set_element_are_not_comp,
type_e_set_operation_unknown,
type_w_convert_real_2_comp,
type_h_use_div_for_int,
type_e_strict_var_string_violation,
type_e_succ_and_pred_enums_with_assign_not_possible,
type_e_cant_read_write_type,
type_e_typeconflict_in_set,
type_w_maybe_wrong_hi_lo,
type_e_integer_or_real_expr_expected,
type_e_wrong_type_in_array_constructor,
type_e_wrong_parameter_type,
type_e_no_method_and_procedure_not_compatible,
type_e_wrong_math_argument,
type_e_no_addr_of_constant,
type_e_argument_must_be_lvalue,
type_e_cannot_local_proc_to_procvar,
sym_e_id_not_found,
sym_f_internal_error_in_symtablestack,
sym_e_duplicate_id,
sym_h_duplicate_id_where,
sym_e_unknown_id,
sym_e_forward_not_resolved,
sym_f_id_already_typed,
sym_e_error_in_type_def,
sym_e_type_id_not_defined,
sym_e_forward_type_not_resolved,
sym_e_only_static_in_static,
sym_e_invalid_call_tvarsymmangledname,
sym_f_type_must_be_rec_or_class,
sym_e_no_instance_of_abstract_object,
sym_w_label_not_defined,
sym_e_ill_label_decl,
sym_e_goto_and_label_not_supported,
sym_e_label_not_found,
sym_e_id_is_no_label_id,
sym_e_label_already_defined,
sym_e_ill_type_decl_set,
sym_e_class_forward_not_resolved,
sym_h_para_identifier_not_used,
sym_n_local_identifier_not_used,
sym_e_set_expected,
sym_w_function_result_not_set,
sym_e_illegal_field,
sym_n_uninitialized_local_variable,
sym_n_uninitialized_variable,
sym_e_id_no_member,
sym_b_param_list,
cg_e_break_not_allowed,
cg_e_continue_not_allowed,
cg_e_too_complex_expr,
cg_e_illegal_expression,
cg_e_invalid_integer,
cg_e_invalid_qualifier,
cg_e_upper_lower_than_lower,
cg_e_illegal_count_var,
cg_e_cant_choose_overload_function,
cg_e_parasize_too_big,
cg_e_illegal_type_conversion,
cg_d_pointer_to_longint_conv_not_portable,
cg_e_file_must_call_by_reference,
cg_e_cant_use_far_pointer_there,
cg_e_var_must_be_reference,
cg_e_dont_call_exported_direct,
cg_w_member_cd_call_from_method,
cg_n_inefficient_code,
cg_w_unreachable_code,
cg_e_stackframe_with_esp,
cg_e_cant_call_abstract_method,
cg_f_internal_error_in_getfloatreg,
cg_f_unknown_float_type,
cg_f_secondvecn_base_defined_twice,
cg_f_extended_cg68k_not_supported,
cg_f_32bit_not_supported_in_68000,
cg_f_internal_error_in_secondinline,
cg_d_register_weight,
cg_e_stacklimit_in_local_routine,
cg_d_stackframe_omited,
cg_e_unable_inline_object_methods,
cg_e_unable_inline_procvar,
cg_e_no_code_for_inline_stored,
cg_e_can_access_element_zero,
cg_e_include_not_implemented,
cg_e_cannot_call_cons_dest_inside_with,
cg_e_cannot_call_message_direct,
asmr_d_start_reading,
asmr_d_finish_reading,
asmr_e_none_label_contain_at,
asmr_w_override_op_not_supported,
asmr_e_building_record_offset,
asmr_e_offset_without_identifier,
asmr_e_no_local_or_para_allowed,
asmr_e_need_offset,
asmr_e_cant_have_multiple_relocatable_symbols,
asmr_e_only_add_relocatable_symbol,
asmr_e_invalid_constant_expression,
asmr_e_relocatable_symbol_not_allowed,
asmr_e_invalid_reference_syntax,
asmr_e_local_symbol_not_allowed_as_ref,
asmr_e_wrong_base_index,
asmr_e_wrong_scale_factor,
asmr_e_multiple_index,
asmr_e_invalid_operand_type,
asmr_e_invalid_string_as_opcode_operand,
asmr_w_CODE_and_DATA_not_supported,
asmr_e_null_label_ref_not_allowed,
asmr_e_ev_zero_divide,
asmr_e_ev_stack_overflow,
asmr_e_ev_stack_underflow,
asmr_e_ev_invalid_number,
asmr_e_ev_invalid_op,
asmr_e_escape_seq_ignored,
asmr_e_invalid_symbol_ref,
asmr_w_fwait_emu_prob,
asmr_w_calling_overload_func,
asmr_e_unsupported_symbol_type,
asmr_e_constant_out_of_bounds,
asmr_e_error_converting_decimal,
asmr_e_error_converting_octal,
asmr_e_error_converting_binary,
asmr_e_error_converting_hexadecimal,
asmr_h_direct_global_to_mangled,
asmr_w_direct_global_is_overloaded_func,
asmr_e_cannot_use_SELF_outside_a_method,
asmr_e_cannot_use_OLDEBP_outside_nested_procedure,
asmr_e_void_function,
asmr_e_SEG_not_supported,
asmr_e_size_suffix_and_dest_dont_match,
asmr_w_size_suffix_and_dest_dont_match,
asmr_e_syntax_error,
asmr_e_invalid_opcode_and_operand,
asmr_e_syn_operand,
asmr_e_syn_constant,
asmr_e_invalid_string_expression,
asmr_w_const32bit_for_address,
asmr_e_invalid_or_missing_opcode,
asmr_e_invalid_prefix_and_opcode,
asmr_e_invalid_override_and_opcode,
asmr_e_too_many_operands,
asmr_w_near_ignored,
asmr_w_far_ignored,
asmr_e_dup_local_sym,
asmr_e_unknown_local_sym,
asmr_e_unknown_label_identifier,
asmr_e_invalid_fpu_register,
asmr_e_nor_not_supported,
asmr_w_modulo_not_supported,
asmr_e_invalid_float_const,
asmr_e_invalid_float_expr,
asmr_e_wrong_sym_type,
asmr_e_cannot_index_relative_var,
asmr_e_invalid_seg_override,
asmr_w_id_supposed_external,
asmr_e_string_not_allowed_as_const,
asmr_e_no_var_type_specified,
asmr_w_assembler_code_not_returned_to_text,
asmr_e_not_directive_or_local_symbol,
asmr_w_using_defined_as_local,
asmr_e_dollar_without_identifier,
asmr_w_32bit_const_for_address,
asmr_n_align_is_target_specific,
asmw_f_too_many_asm_files,
asmw_f_assembler_output_not_supported,
asmw_f_comp_not_supported,
asmw_f_direct_not_supported,
asmw_e_alloc_data_only_in_bss,
asmw_f_no_binary_writer_selected,
asmw_e_opcode_not_in_table,
asmw_e_invalid_opcode_and_operands,
asmw_e_16bit_not_supported,
asmw_e_invalid_effective_address,
asmw_e_immediate_or_reference_expected,
asmw_e_value_exceeds_bounds,
asmw_e_short_jmp_out_of_range,
exec_w_source_os_redefined,
exec_i_assembling_pipe,
exec_d_cant_create_asmfile,
exec_w_assembler_not_found,
exec_t_using_assembler,
exec_w_error_while_assembling,
exec_w_cant_call_assembler,
exec_i_assembling,
exec_i_assembling_smart,
exec_w_linker_not_found,
exec_t_using_linker,
exec_w_objfile_not_found,
exec_w_libfile_not_found,
exec_w_error_while_linking,
exec_w_cant_call_linker,
exec_i_linking,
exec_w_binder_not_found,
exec_w_ar_not_found,
exec_e_dll_not_supported,
exec_i_closing_script,
exec_w_res_not_found,
exec_i_compilingresource,
execinfo_f_cant_process_executable,
execinfo_f_cant_open_executable,
execinfo_x_codesize,
execinfo_x_initdatasize,
execinfo_x_uninitdatasize,
execinfo_x_stackreserve,
execinfo_x_stackcommit,
unit_t_unitsearch,
unit_t_ppu_loading,
unit_u_ppu_name,
unit_u_ppu_flags,
unit_u_ppu_crc,
unit_u_ppu_time,
unit_u_ppu_file_too_short,
unit_u_ppu_invalid_header,
unit_u_ppu_invalid_version,
unit_u_ppu_invalid_processor,
unit_u_ppu_invalid_target,
unit_u_ppu_source,
unit_u_ppu_write,
unit_f_ppu_cannot_write,
unit_f_ppu_read_error,
unit_f_ppu_read_unexpected_end,
unit_f_ppu_invalid_entry,
unit_f_ppu_dbx_count_problem,
unit_e_illegal_unit_name,
unit_f_too_much_units,
unit_f_circular_unit_reference,
unit_f_cant_compile_unit,
unit_f_cant_find_ppu,
unit_w_switch_us_missed,
unit_f_errors_in_unit,
unit_u_load_unit,
unit_u_recompile_crc_change,
unit_u_recompile_source_found_alone,
unit_u_recompile_staticlib_is_older,
unit_u_recompile_sharedlib_is_older,
unit_u_recompile_obj_and_asm_older,
unit_u_recompile_obj_older_than_asm,
unit_u_start_parse_interface,
unit_u_start_parse_implementation,
unit_u_second_load_unit,
unit_u_check_time,
option_usage,
option_only_one_source_support,
option_def_only_for_os2,
option_no_nested_response_file,
option_no_source_found,
option_illegal_para,
option_help_pages_para,
option_too_many_cfg_files,
option_unable_open_file,
option_reading_further_from,
option_target_is_already_set,
option_no_shared_lib_under_dos,
option_too_many_ifdef,
option_too_many_endif,
option_too_less_endif,
option_no_debug_support,
option_no_debug_support_recompile_fpc,
option_obsolete_switch,
option_obsolete_switch_use_new,
option_switch_bin_to_src_assembler,
option_logo_start,
option_logo_end,
option_info_start,
option_info1,
option_info2,
option_info3,
option_info4,
option_info5,
option_info6,
option_info7,
option_info8,
option_info_end,
ol_begin,
ol001,
ol002,
ol003,
ol004,
ol005,
ol006,
ol007,
ol008,
ol009,
ol010,
ol011,
ol012,
ol013,
ol014,
ol015,
ol016,
ol017,
ol018,
ol019,
ol020,
ol021,
ol022,
ol023,
ol024,
ol025,
ol026,
ol027,
ol028,
ol029,
ol030,
ol031,
ol032,
ol033,
ol034,
ol035,
ol036,
ol037,
ol038,
ol039,
ol040,
ol041,
ol042,
ol043,
ol044,
ol045,
ol046,
ol047,
ol048,
ol049,
ol050,
ol051,
ol052,
ol053,
ol054,
ol055,
ol056,
ol057,
ol058,
ol059,
ol060,
ol061,
ol062,
ol063,
ol064,
ol065,
ol066,
ol067,
ol068,
ol069,
ol070,
ol071,
ol072,
ol073,
ol074,
ol075,
ol076,
ol077,
ol078,
ol079,
ol080,
ol081,
ol082,
ol083,
ol084,
ol085,
ol086,
ol087,
ol088,
ol089,
ol090,
ol091,
ol092,
ol093,
ol094,
ol095,
ol096,
ol097,
ol098,
ol099,
ol100,
ol101,
ol102,
ol103,
ol104,
ol105,
ol106,
ol107,
ol108,
ol109,
ol110,
ol111,
ol112,
ol113,
ol114,
ol115,
ol116,
ol117,
ol118,
ol119,
ol120,
ol121,
ol122,
ol123,
ol124,
ol125,
ol126,
ol127,
ol128,
ol129,
ol130,
ol131,
ol132,
ol133,
ol134,
ol135,
ol136,
ol137,
ol138,
ol139,
ol140,
ol141,
ol_end,
endmsgconst
);