fpc/compiler/msgidx.inc
florian d27b21891b * changes of Bruessel:
+ message handler can now take an explicit self
     * typinfo fixed: sometimes the type names weren't written
     * the type checking for pointer comparisations and subtraction
       and are now more strict (was also buggy)
     * small bug fix to link.pas to support compiling on another
       drive
     * probable bug in popt386 fixed: call/jmp => push/jmp
       transformation didn't count correctly the jmp references
     + threadvar support
     * warning if ln/sqrt gets an invalid constant argument
1999-04-28 06:01:54 +00:00

669 lines
18 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,
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,
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,
type_e_mismatch,
type_e_incompatible_types,
type_e_integer_expr_expected,
type_e_ordinal_expr_expected,
type_e_type_id_expected,
type_e_variable_id_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,
sym_e_id_not_found,
sym_f_internal_error_in_symtablestack,
sym_e_duplicate_id,
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_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_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_w_may_wrong_math_argument,
cg_e_cannot_call_cons_dest_inside_with,
assem_f_ev_zero_divide,
assem_f_ev_stack_overflow,
assem_f_ev_stack_underflow,
assem_f_ev_invalid_number,
assem_f_ev_invalid_op,
assem_f_ev_unknown,
assem_w_invalid_numeric,
assem_e_escape_seq_ignored,
assem_e_syn_prefix_not_found,
assem_e_syn_try_add_more_prefix,
assem_e_syn_opcode_not_found,
assem_e_invalid_symbol_ref,
assem_w_calling_overload_func,
assem_e_constant_out_of_bounds,
assem_e_none_label_contain_at,
assem_e_invalid_operand,
assem_w_override_op_not_supported,
assem_e_error_in_binary_const,
assem_e_error_in_octal_const,
assem_e_error_in_hex_const,
assem_e_error_in_integer_const,
assem_e_invalid_labeled_opcode,
assem_f_internal_error_in_findtype,
assem_e_invalid_size_movzx,
assem_e_16bit_base_in_32bit_segment,
assem_e_16bit_index_in_32bit_segment,
assem_e_invalid_opcode,
assem_e_const_ref_not_allowed,
assem_w_fwait_emu_prob,
assem_e_invalid_opcode_and_operand,
assem_e_unsupported_opcode_and_operand,
assem_w_opcode_not_in_table,
assem_f_internal_error_in_concatopcode,
assem_e_invalid_size_in_ref,
assem_e_invalid_middle_sized_operand,
assem_e_invalid_three_operand_opcode,
assem_e_syntax_error,
assem_e_invalid_operand_type,
assem_e_segment_override_not_supported,
assem_e_invalid_const_symbol,
assem_f_error_converting_bin,
assem_f_error_converting_hex,
assem_f_error_converting_octal,
assem_e_invalid_constant_expression,
assem_e_unknown_id,
assem_e_defining_index_more_than_once,
assem_e_invalid_field_specifier,
assem_f_internal_error_in_buildscale,
assem_e_invalid_scaling_factor,
assem_e_invalid_scaling_value,
assem_e_scaling_value_only_allowed_with_index,
assem_e_syn_no_ref_with_brackets,
assem_e_expression_form_not_supported,
assem_e_defining_seg_more_than_once,
assem_e_defining_base_more_than_once,
assem_e_negative_index_register,
assem_e_syn_reference,
assem_e_local_symbol_not_allowed_as_ref,
assem_e_invalid_operand_in_bracket_expression,
assem_e_invalid_symbol_name,
assem_e_invalid_reference_syntax,
assem_e_invalid_string_as_opcode_operand,
assem_w_CODE_and_DATA_not_supported,
assem_e_null_label_ref_not_allowed,
assem_w_calling_overloaded,
assem_e_cannot_use_SELF_outside_a_method,
assem_e_syn_start_with_bracket,
assem_e_syn_register,
assem_e_SEG_and_OFFSET_not_supported,
assem_e_syn_opcode_operand,
assem_e_invalid_string_expression,
assem_e_expression_out_of_bounds,
assem_f_internal_error_in_buildconstant,
assem_w_repeat_prefix_and_seg_override,
assem_e_invalid_or_missing_opcode,
assem_e_invalid_prefix_and_opcode,
assem_e_invalid_override_and_opcode,
assem_e_too_many_operands,
assem_e_dup_local_sym,
assem_e_unknown_label_identifer,
assem_e_assemble_node_syntax_error,
assem_e_unknown_local_sym,
assem_d_start_intel,
assem_d_finish_intel,
assem_e_not_directive_or_local_symbol,
assem_e_slash_at_begin_of_line_not_allowed,
assem_e_nor_not_supported,
assem_e_invalid_fpu_register,
assem_w_modulo_not_supported,
assem_e_invalid_float_const,
assem_e_size_suffix_and_dest_reg_dont_match,
assem_e_size_suffix_and_dest_dont_match,
assem_w_size_suffix_and_dest_dont_match,
assem_f_internal_error_in_concatlabeledinstr,
assem_w_float_bin_ignored,
assem_w_float_hex_ignored,
assem_w_float_octal_ignored,
assem_e_invalid_real_const,
assem_e_parenthesis_are_not_allowed,
assem_e_invalid_reference,
assem_e_cannot_use___SELF_outside_methode,
assem_e_cannot_use___OLDEBP_outside_nested_procedure,
assem_w_id_supposed_external,
assem_e_invalid_seg_override,
assem_e_string_not_allowed_as_const,
assem_d_start_att,
assem_d_finish_att,
assem_e_switching_sections_not_allowed,
assem_e_invalid_global_def,
assem_e_line_separator_expected,
assem_w_globl_not_supported,
assem_w_align_not_supported,
assem_w_lcomm_not_supported,
assem_w_comm_not_supported,
assem_e_invalid_lcomm_def,
assem_e_invalid_comm_def,
assem_e_local_sym_not_found_in_asm_statement,
assem_e_assembler_code_not_returned_to_text,
assem_f_internal_error_in_buildreference,
assem_e_invalid_opcode_size,
assem_w_near_ignored,
assem_w_far_ignored,
assem_d_creating_lookup_tables,
assem_w_using_defined_as_local,
assem_f_internal_error_in_handleextend,
assem_e_invalid_char_smaller,
assem_e_invalid_char_greater,
assem_e_unsupported_opcode,
assem_e_no_inc_and_dec_together,
assem_e_invalid_reg_list_in_movem,
assem_e_invalid_reg_list_for_opcode,
assem_e_68020_mode_required,
assem_d_start_motorola,
assem_d_finish_motorola,
assem_w_xdef_not_supported,
assem_w_void_function,
assem_f_invalid_suffix_intel,
assem_e_extended_not_supported,
assem_e_comp_not_supported,
assem_w_mmxwarning_as_281,
assem_f_too_many_asm_files,
assem_f_assembler_output_not_supported,
assem_e_unsupported_symbol_type,
assem_e_cannot_index_relative_var,
assem_h_direct_global_to_mangled,
assem_w_direct_global_is_overloaded_func,
assem_d_arg_offset,
assem_d_arg_unfound_offset,
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_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_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_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,
ol137,
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,
ol136,
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,
ol_end,
endmsgconst
);