scale.common
Class Msg

java.lang.Object
  extended by scale.common.Msg
Direct Known Subclasses:
MsgEnglish

public abstract class Msg
extends java.lang.Object

This provides the basis for messages issued by the Scale compiler.

$Id: Msg.java,v 1.41 2007-10-04 19:53:36 burrill Exp $

Copyright 2008 by the Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.

Additional classes should be derived from this class for each natural language that is supported. These additional classes will contain the text for each message in the particular natural language. The derived classes must be named using "Msg" catenated with the string returned by the java.util.Locale.getDisplayLanguage() method.

The messages are specified by an integer. A message may contain the string %s. This string will be replaced by any additional text supplied when the message is displayed.

Additional message should be added to the end and given the next higher number. If a particular derived class is not updated, the text "??" will be displayed.

If a message is no longer in use, replace it's text by "unused nn" and replace the field name by MSG_unused_nn where nn is the value of the field. There fields can then be re-used.

All messages are displayed to stderr. There is an example of reporting a warning in the code for this class.


Field Summary
static int HLP_A
           
static int HLP_AA
           
static int HLP_ansi
           
static int HLP_arch
           
static int HLP_asm
           
static int HLP_bi
           
static int HLP_c89
           
static int HLP_c99
           
static int HLP_cat
           
static int HLP_cc
           
static int HLP_cca
           
static int HLP_ccb
           
static int HLP_ccc
           
static int HLP_cdd
           
static int HLP_cga
           
static int HLP_cgb
           
static int HLP_ckr
           
static int HLP_cmi
           
static int HLP_d
           
static int HLP_D
           
static int HLP_daVinci
           
static int HLP_dcg
           
static int HLP_dd
           
static int HLP_dir
           
static int HLP_dm
           
static int HLP_E
           
static int HLP_f
           
static int HLP_ff
           
static int HLP_files
           
static int HLP_for
           
static int HLP_fpr
           
static int HLP_G
           
static int HLP_gcc
           
static int HLP_gdb
           
static int HLP_hb
           
static int HLP_hda
           
static int HLP_help
           
static int HLP_I
           
static int HLP_icf
           
static int HLP_ih
           
static int HLP_inl
           
static int HLP_inls
           
static int HLP_is
           
static int HLP_Is
           
static int HLP_L
           
static int HLP_M
           
static int HLP_naln
           
static int HLP_none
           
static int HLP_np
           
static int HLP_nw
           
static int HLP_o
           
static int HLP_O
           
static int HLP_oa
           
static int HLP_oc
           
static int HLP_occ
           
static int HLP_Occ
           
static int HLP_pg
           
static int HLP_ph
           
static int HLP_phb
           
static int HLP_phelp
           
static int HLP_pi
           
static int HLP_pp
           
static int HLP_quiet
           
static int HLP_r
           
static int HLP_S
           
static int HLP_san
           
static int HLP_sc
           
static int HLP_sca
           
static int HLP_scb
           
static int HLP_sf
           
static int HLP_sga
           
static int HLP_sgb
           
static int HLP_snap
           
static int HLP_stat
           
static int HLP_suspend
           
static int HLP_t
           
static int HLP_U
           
static int HLP_unsafe
           
static int HLP_unused_16
           
static int HLP_unused_21
           
static int HLP_unused_3
           
static int HLP_unused_54
           
static int HLP_unused_64
           
static int HLP_unused_65
           
static int HLP_unused_76
           
static int HLP_vcc
           
static int HLP_vcg
           
static int HLP_version
           
static int HLP_w
           
static int HLP_wrap
           
static boolean ignoreAllWarnings
          If true, do not print warning messages.
static int MSG_Alias_Analysis_End
           
static int MSG_Alias_Analysis_Start
           
static int MSG_alignof_is_non_standard
           
static int MSG_All_integer_overflows_might_not_wrap
           
static int MSG_Array_of_functions_is_not_allowed
           
static int MSG_Assembling_s
           
static int MSG_Assignment_of_integer_to_pointer_without_a_cast
           
static int MSG_Assume_dummy_aliases
           
static int MSG_Broken_pipe_s
           
static int MSG_Call_does_not_match_routine_definition
           
static int MSG_Clef
           
static int MSG_Concatenation_of_unknown_length_not_allowed
           
static int MSG_Configuration_file_s_not_found
           
static int MSG_Conflicting_parameters_choose_one_of_s
           
static int MSG_Converting_multiple_files_to_Scribble
           
static int MSG_Converting_to_Scribble_s
           
static int MSG_Data_dependence_testing_s
           
static int MSG_Debug_level_is_s
           
static int MSG_Default_is
           
static int MSG_Deprecated_s
           
static int MSG_Dereference_of_non_address
           
static int MSG_Elapsed_time_s
           
static int MSG_End
           
static int MSG_Endif_without_if
           
static int MSG_Enum_s_already_defined
           
static int MSG_Error_loading_flag_file_s
           
static int MSG_Errors_in_compilation
           
static int MSG_Expecting_s_found_s
           
static int MSG_Failed_to_compile_s
           
static int MSG_Failed_to_generate_IL_file_for_multiple_files
           
static int MSG_Failed_to_generate_IL_file_for_s
           
static int MSG_Field_s_already_defined
           
static int MSG_Field_s_not_found
           
static int MSG_Floating_point_reordering_allowed
           
static int MSG_Function_s_definition_does_not_match_prototype
           
static int MSG_Function_s_is_already_defined
           
static int MSG_Generating_s
           
static int MSG_Host_architecture_s
           
static int MSG_Hyperblock_policy_backend
           
static int MSG_Ignored_s
           
static int MSG_Improper_call_to_s
           
static int MSG_Improper_comment_termination
           
static int MSG_Improper_continuation_statement
           
static int MSG_Improper_string_termination
           
static int MSG_Include_file_s_not_found
           
static int MSG_Incompatible_function_argument_for_s
           
static int MSG_Incorrect_type_specification
           
static int MSG_Inlining_End
           
static int MSG_Inlining_level_s
           
static int MSG_Inlining_Start
           
static int MSG_Invalid_CFG_after_optimization_s
           
static int MSG_Invalid_CFG_before_optimization_s
           
static int MSG_Invalid_dimension
           
static int MSG_Invalid_expression
           
static int MSG_Invalid_FORMAT_specifier
           
static int MSG_Invalid_function_call
           
static int MSG_Invalid_goto_statement
           
static int MSG_Invalid_initializer
           
static int MSG_Invalid_KIND_selector
           
static int MSG_Invalid_lvalue
           
static int MSG_Invalid_macro_definition
           
static int MSG_Invalid_or_missing_type
           
static int MSG_Invalid_parameter_s
           
static int MSG_Invalid_procedure_type
           
static int MSG_Invalid_profile_data_s
           
static int MSG_Invalid_statement
           
static int MSG_Invalid_statement_label
           
static int MSG_Invalid_storage_class
           
static int MSG_Invalid_subscript_expression
           
static int MSG_Invalid_type
           
static int MSG_Invalid_type_operand_to_s
           
static int MSG_Junk_after_directive
           
static int MSG_K_R_function_definition_s
           
static int MSG_Label_s_defined_twice
           
static int MSG_Language_s_not_supported_using_default
           
static int MSG_Loop_unrolling_factor_s
           
static int MSG_Machine_s_not_found
           
static int MSG_Macro_redefined_s
           
static int MSG_Main_already_defined_in_s
           
static int MSG_Missing_END_statement
           
static int MSG_Missing_return_statement_s
           
static int MSG_More_than_one_source_file_specified
           
static int MSG_Multi_compilation
           
static int MSG_No_alias_analysis
           
static int MSG_No_builtins
           
static int MSG_No_source_file_specified
           
static int MSG_Node_report_level_is_s
           
static int MSG_Not_a_CHARACTER_value
           
static int MSG_Not_a_constant
           
static int MSG_Not_a_LOGICAL_value
           
static int MSG_Not_a_macro_call
           
static int MSG_Not_a_scalar_value
           
static int MSG_Not_a_struct
           
static int MSG_Not_a_type_s
           
static int MSG_Not_an_integer_constant
           
static int MSG_Not_an_integer_value
           
static int MSG_Not_defined_s
           
static int MSG_Not_implemented_s
           
static int MSG_Note_report_level_is_s
           
static int MSG_Operands_to_s_not_compatible
           
static int MSG_Operands_to_s_not_integer_types
           
static int MSG_Optimization_s_not_performed_for_s
           
static int MSG_Optimizations_s
           
static int MSG_Optimizing_s
           
static int MSG_Parameter_s_already_defined
           
static int MSG_Parameter_s_requires_a_value
           
static int MSG_Parser_s_not_found
           
static int MSG_Performing_s
           
static int MSG_Pragma_not_processed_s
           
static int MSG_Pre_defined_macros_can_not_be_redefined
           
static int MSG_Pre_defined_macros_can_not_be_undefined
           
static int MSG_Profile_CFG_characteristic_value_differs_for_s
           
static int MSG_Report_name_is_s
           
static int MSG_Required_parameter_s_not_specified
           
static int MSG_Routine_s_can_not_be_optimized
           
static int MSG_s
           
static int MSG_s_contains_gotos
           
static int MSG_s_ignored
           
static int MSG_s_is_not_a_variable
           
static int MSG_s_is_not_an_integer_variable
           
static int MSG_s_returned_status_s
           
static int MSG_Scale_compiler_version_s
           
static int MSG_Scribble_s
           
static int MSG_Separate_compilation
           
static int MSG_SH_can_not_be_selected_with_0_categories
           
static int MSG_Shapiro_inter_procedural_alias_analysis
           
static int MSG_Shapiro_intra_procedural_alias_analyses
           
static int MSG_Signed_integer_overflows_might_not_wrap
           
static int MSG_Simple_inter_procedural_alias_analysis
           
static int MSG_Simple_intra_procedural_alias_analysis
           
static int MSG_Source_file_not_found_s
           
static int MSG_Start
           
static int MSG_Stat_level_is_s
           
static int MSG_Steensgard_inter_procedural_alias_analysis
           
static int MSG_Steensgard_intra_procedural_alias_analyses
           
static int MSG_Storage_class_specified_twice
           
static int MSG_Suspended_press_enter
           
static int MSG_Symbol_s_already_defined
           
static int MSG_Target_architecture_s
           
static int MSG_The_shapes_of_the_array_expressions_do_not_conform
           
static int MSG_There_were_s_classes_read
           
static int MSG_Too_few_closing_parens
           
static int MSG_Too_few_macro_arguments
           
static int MSG_Too_many_closing_parens
           
static int MSG_Too_many_initializers
           
static int MSG_Too_many_macro_arguments
           
static int MSG_Too_many_subscripts
           
static int MSG_Type_s_is_already_defined
           
static int MSG_Unable_to_instruction_schedule_s
           
static int MSG_Unable_to_open_window_s
           
static int MSG_Unable_to_send_to_s
           
static int MSG_Unit_not_specified
           
static int MSG_Unknown_conversion
           
static int MSG_Unknown_file_extension_s
           
static int MSG_Unknown_file_type_s
           
static int MSG_Unknown_intrinsic_function_s
           
static int MSG_Unknown_optimization_s
           
static int MSG_Unrecognized_declaration_attribute_s
           
static int MSG_Unrecognized_type_attribute_s
           
static int MSG_Unrecognized_visulaizer_response_s
           
static int MSG_Unsafe_optimizations_allowed
           
static int MSG_unused_58
           
static int MSG_unused_90
           
static int MSG_unused_91
           
static int MSG_Usage_java_s
           
static int MSG_Use_of_Os_with_g_is_not_recommended
           
static int MSG_Use_Profile_Info_End
           
static int MSG_Use_Profile_Info_Start
           
static int MSG_User_specified_annotations_added
           
static int MSG_Using_profiling_information
           
static int MSG_Variable_s_already_defined
           
static boolean reportInfo
          If true, print informational messages.
 
Constructor Summary
protected Msg()
           
 
Method Summary
protected abstract  java.lang.String getErrorString()
           
static java.lang.String getHelpMessage(int msgIndex)
           
protected abstract  java.lang.String[] getHelpMessages()
           
protected abstract  java.lang.String getInfoString()
           
static java.lang.String getMessage(int msgIndex)
           
protected abstract  java.lang.String[] getMessages()
           
protected abstract  java.lang.String getWarningString()
           
static void ignoreWarning(int errno)
          Specify to ignore a specific warning.
static void ignoreWarning(int first, int last)
          Specify a range of warnings to ignore.
static java.lang.String insertText(int errno, java.lang.String text)
          Return the specified string with the first occurrence of %s replaced by the specified text.
static java.lang.String insertText(int errno, java.lang.String text1, java.lang.String text2)
          Return the specified string with the first and second occurrences of %s replaced by the specified text.
static java.lang.String insertText(java.lang.String str, java.lang.String text)
          Return the specified string with the first occurrence of %s replaced by the specified text.
static java.lang.String insertText(java.lang.String str, java.lang.String text1, java.lang.String text2)
          Return the specified string with the first and second occurrences of %s replaced by the specified text.
static void reportError(int errno, java.lang.String text)
          Report the error message for the file at the line and column specified.
static void reportError(int errno, java.lang.String filename, int lineno, int column, java.lang.String text)
          Report the error message for the file at the line and column specified.
static void reportError(int errno, java.lang.String filename, int lineno, int column, java.lang.String text1, java.lang.String text2)
          Report the error message for the file at the line and column specified.
static void reportInfo(int errno, java.lang.String text)
          Report the informational message for the file at the line and column specified.
static void reportInfo(int errno, java.lang.String filename, int lineno, int column, java.lang.String text)
          Report the informational message for the file at the line and column specified.
static void reportInfo(int errno, java.lang.String filename, int lineno, int column, java.lang.String text1, java.lang.String text2)
          Report the informational message for the file at the line and column specified.
static void reportWarning(int errno, java.lang.String text)
          Report the warning message for the file at the line and column specified.
static void reportWarning(int errno, java.lang.String filename, int lineno, int column, java.lang.String text)
          Report the warning message for the file at the line and column specified.
static void reportWarning(int errno, java.lang.String filename, int lineno, int column, java.lang.String text1, java.lang.String text2)
          Report the warning message for the file at the line and column specified.
static void setup(java.lang.String language)
          Initialize the message system before it is used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MSG_alignof_is_non_standard

public static final int MSG_alignof_is_non_standard
See Also:
Constant Field Values

MSG_Array_of_functions_is_not_allowed

public static final int MSG_Array_of_functions_is_not_allowed
See Also:
Constant Field Values

MSG_Assignment_of_integer_to_pointer_without_a_cast

public static final int MSG_Assignment_of_integer_to_pointer_without_a_cast
See Also:
Constant Field Values

MSG_Broken_pipe_s

public static final int MSG_Broken_pipe_s
See Also:
Constant Field Values

MSG_Configuration_file_s_not_found

public static final int MSG_Configuration_file_s_not_found
See Also:
Constant Field Values

MSG_Deprecated_s

public static final int MSG_Deprecated_s
See Also:
Constant Field Values

MSG_Dereference_of_non_address

public static final int MSG_Dereference_of_non_address
See Also:
Constant Field Values

MSG_Enum_s_already_defined

public static final int MSG_Enum_s_already_defined
See Also:
Constant Field Values

MSG_Error_loading_flag_file_s

public static final int MSG_Error_loading_flag_file_s
See Also:
Constant Field Values

MSG_Errors_in_compilation

public static final int MSG_Errors_in_compilation
See Also:
Constant Field Values

MSG_Field_s_already_defined

public static final int MSG_Field_s_already_defined
See Also:
Constant Field Values

MSG_Field_s_not_found

public static final int MSG_Field_s_not_found
See Also:
Constant Field Values

MSG_Function_s_definition_does_not_match_prototype

public static final int MSG_Function_s_definition_does_not_match_prototype
See Also:
Constant Field Values

MSG_Function_s_is_already_defined

public static final int MSG_Function_s_is_already_defined
See Also:
Constant Field Values

MSG_Ignored_s

public static final int MSG_Ignored_s
See Also:
Constant Field Values

MSG_Improper_call_to_s

public static final int MSG_Improper_call_to_s
See Also:
Constant Field Values

MSG_Improper_comment_termination

public static final int MSG_Improper_comment_termination
See Also:
Constant Field Values

MSG_Improper_string_termination

public static final int MSG_Improper_string_termination
See Also:
Constant Field Values

MSG_Invalid_initializer

public static final int MSG_Invalid_initializer
See Also:
Constant Field Values

MSG_Invalid_procedure_type

public static final int MSG_Invalid_procedure_type
See Also:
Constant Field Values

MSG_Incompatible_function_argument_for_s

public static final int MSG_Incompatible_function_argument_for_s
See Also:
Constant Field Values

MSG_Incorrect_type_specification

public static final int MSG_Incorrect_type_specification
See Also:
Constant Field Values

MSG_Invalid_dimension

public static final int MSG_Invalid_dimension
See Also:
Constant Field Values

MSG_Invalid_expression

public static final int MSG_Invalid_expression
See Also:
Constant Field Values

MSG_Invalid_function_call

public static final int MSG_Invalid_function_call
See Also:
Constant Field Values

MSG_Invalid_lvalue

public static final int MSG_Invalid_lvalue
See Also:
Constant Field Values

MSG_Invalid_or_missing_type

public static final int MSG_Invalid_or_missing_type
See Also:
Constant Field Values

MSG_Invalid_parameter_s

public static final int MSG_Invalid_parameter_s
See Also:
Constant Field Values

MSG_Invalid_storage_class

public static final int MSG_Invalid_storage_class
See Also:
Constant Field Values

MSG_Invalid_subscript_expression

public static final int MSG_Invalid_subscript_expression
See Also:
Constant Field Values

MSG_Invalid_type

public static final int MSG_Invalid_type
See Also:
Constant Field Values

MSG_Junk_after_directive

public static final int MSG_Junk_after_directive
See Also:
Constant Field Values

MSG_K_R_function_definition_s

public static final int MSG_K_R_function_definition_s
See Also:
Constant Field Values

MSG_Label_s_defined_twice

public static final int MSG_Label_s_defined_twice
See Also:
Constant Field Values

MSG_Language_s_not_supported_using_default

public static final int MSG_Language_s_not_supported_using_default
See Also:
Constant Field Values

MSG_Machine_s_not_found

public static final int MSG_Machine_s_not_found
See Also:
Constant Field Values

MSG_Macro_redefined_s

public static final int MSG_Macro_redefined_s
See Also:
Constant Field Values

MSG_Missing_return_statement_s

public static final int MSG_Missing_return_statement_s
See Also:
Constant Field Values

MSG_More_than_one_source_file_specified

public static final int MSG_More_than_one_source_file_specified
See Also:
Constant Field Values

MSG_No_source_file_specified

public static final int MSG_No_source_file_specified
See Also:
Constant Field Values

MSG_Not_a_constant

public static final int MSG_Not_a_constant
See Also:
Constant Field Values

MSG_Not_a_struct

public static final int MSG_Not_a_struct
See Also:
Constant Field Values

MSG_Not_a_type_s

public static final int MSG_Not_a_type_s
See Also:
Constant Field Values

MSG_Not_defined_s

public static final int MSG_Not_defined_s
See Also:
Constant Field Values

MSG_Not_implemented_s

public static final int MSG_Not_implemented_s
See Also:
Constant Field Values

MSG_Operands_to_s_not_compatible

public static final int MSG_Operands_to_s_not_compatible
See Also:
Constant Field Values

MSG_Operands_to_s_not_integer_types

public static final int MSG_Operands_to_s_not_integer_types
See Also:
Constant Field Values

MSG_Parameter_s_already_defined

public static final int MSG_Parameter_s_already_defined
See Also:
Constant Field Values

MSG_Profile_CFG_characteristic_value_differs_for_s

public static final int MSG_Profile_CFG_characteristic_value_differs_for_s
See Also:
Constant Field Values

MSG_Routine_s_can_not_be_optimized

public static final int MSG_Routine_s_can_not_be_optimized
See Also:
Constant Field Values

MSG_s

public static final int MSG_s
See Also:
Constant Field Values

MSG_Scale_compiler_version_s

public static final int MSG_Scale_compiler_version_s
See Also:
Constant Field Values

MSG_s_contains_gotos

public static final int MSG_s_contains_gotos
See Also:
Constant Field Values

MSG_s_ignored

public static final int MSG_s_ignored
See Also:
Constant Field Values

MSG_Storage_class_specified_twice

public static final int MSG_Storage_class_specified_twice
See Also:
Constant Field Values

MSG_Symbol_s_already_defined

public static final int MSG_Symbol_s_already_defined
See Also:
Constant Field Values

MSG_There_were_s_classes_read

public static final int MSG_There_were_s_classes_read
See Also:
Constant Field Values

MSG_Too_many_subscripts

public static final int MSG_Too_many_subscripts
See Also:
Constant Field Values

MSG_unused_58

public static final int MSG_unused_58
See Also:
Constant Field Values

MSG_Type_s_is_already_defined

public static final int MSG_Type_s_is_already_defined
See Also:
Constant Field Values

MSG_Unable_to_open_window_s

public static final int MSG_Unable_to_open_window_s
See Also:
Constant Field Values

MSG_Unable_to_send_to_s

public static final int MSG_Unable_to_send_to_s
See Also:
Constant Field Values

MSG_Unknown_conversion

public static final int MSG_Unknown_conversion
See Also:
Constant Field Values

MSG_Unrecognized_declaration_attribute_s

public static final int MSG_Unrecognized_declaration_attribute_s
See Also:
Constant Field Values

MSG_Unrecognized_type_attribute_s

public static final int MSG_Unrecognized_type_attribute_s
See Also:
Constant Field Values

MSG_Unrecognized_visulaizer_response_s

public static final int MSG_Unrecognized_visulaizer_response_s
See Also:
Constant Field Values

MSG_Variable_s_already_defined

public static final int MSG_Variable_s_already_defined
See Also:
Constant Field Values

MSG_Debug_level_is_s

public static final int MSG_Debug_level_is_s
See Also:
Constant Field Values

MSG_Stat_level_is_s

public static final int MSG_Stat_level_is_s
See Also:
Constant Field Values

MSG_Node_report_level_is_s

public static final int MSG_Node_report_level_is_s
See Also:
Constant Field Values

MSG_Note_report_level_is_s

public static final int MSG_Note_report_level_is_s
See Also:
Constant Field Values

MSG_Report_name_is_s

public static final int MSG_Report_name_is_s
See Also:
Constant Field Values

MSG_Invalid_CFG_before_optimization_s

public static final int MSG_Invalid_CFG_before_optimization_s
See Also:
Constant Field Values

MSG_Conflicting_parameters_choose_one_of_s

public static final int MSG_Conflicting_parameters_choose_one_of_s
See Also:
Constant Field Values

MSG_SH_can_not_be_selected_with_0_categories

public static final int MSG_SH_can_not_be_selected_with_0_categories
See Also:
Constant Field Values

MSG_Optimization_s_not_performed_for_s

public static final int MSG_Optimization_s_not_performed_for_s
See Also:
Constant Field Values

MSG_Separate_compilation

public static final int MSG_Separate_compilation
See Also:
Constant Field Values

MSG_Multi_compilation

public static final int MSG_Multi_compilation
See Also:
Constant Field Values

MSG_Target_architecture_s

public static final int MSG_Target_architecture_s
See Also:
Constant Field Values

MSG_Host_architecture_s

public static final int MSG_Host_architecture_s
See Also:
Constant Field Values

MSG_User_specified_annotations_added

public static final int MSG_User_specified_annotations_added
See Also:
Constant Field Values

MSG_Inlining_level_s

public static final int MSG_Inlining_level_s
See Also:
Constant Field Values

MSG_No_builtins

public static final int MSG_No_builtins
See Also:
Constant Field Values

MSG_Assume_dummy_aliases

public static final int MSG_Assume_dummy_aliases
See Also:
Constant Field Values

MSG_Unsafe_optimizations_allowed

public static final int MSG_Unsafe_optimizations_allowed
See Also:
Constant Field Values

MSG_Floating_point_reordering_allowed

public static final int MSG_Floating_point_reordering_allowed
See Also:
Constant Field Values

MSG_Signed_integer_overflows_might_not_wrap

public static final int MSG_Signed_integer_overflows_might_not_wrap
See Also:
Constant Field Values

MSG_All_integer_overflows_might_not_wrap

public static final int MSG_All_integer_overflows_might_not_wrap
See Also:
Constant Field Values

MSG_Data_dependence_testing_s

public static final int MSG_Data_dependence_testing_s
See Also:
Constant Field Values

MSG_Hyperblock_policy_backend

public static final int MSG_Hyperblock_policy_backend
See Also:
Constant Field Values

MSG_unused_90

public static final int MSG_unused_90
See Also:
Constant Field Values

MSG_unused_91

public static final int MSG_unused_91
See Also:
Constant Field Values

MSG_Optimizations_s

public static final int MSG_Optimizations_s
See Also:
Constant Field Values

MSG_Unknown_optimization_s

public static final int MSG_Unknown_optimization_s
See Also:
Constant Field Values

MSG_Loop_unrolling_factor_s

public static final int MSG_Loop_unrolling_factor_s
See Also:
Constant Field Values

MSG_Performing_s

public static final int MSG_Performing_s
See Also:
Constant Field Values

MSG_No_alias_analysis

public static final int MSG_No_alias_analysis
See Also:
Constant Field Values

MSG_Simple_intra_procedural_alias_analysis

public static final int MSG_Simple_intra_procedural_alias_analysis
See Also:
Constant Field Values

MSG_Steensgard_intra_procedural_alias_analyses

public static final int MSG_Steensgard_intra_procedural_alias_analyses
See Also:
Constant Field Values

MSG_Shapiro_intra_procedural_alias_analyses

public static final int MSG_Shapiro_intra_procedural_alias_analyses
See Also:
Constant Field Values

MSG_Simple_inter_procedural_alias_analysis

public static final int MSG_Simple_inter_procedural_alias_analysis
See Also:
Constant Field Values

MSG_Steensgard_inter_procedural_alias_analysis

public static final int MSG_Steensgard_inter_procedural_alias_analysis
See Also:
Constant Field Values

MSG_Shapiro_inter_procedural_alias_analysis

public static final int MSG_Shapiro_inter_procedural_alias_analysis
See Also:
Constant Field Values

MSG_Parameter_s_requires_a_value

public static final int MSG_Parameter_s_requires_a_value
See Also:
Constant Field Values

MSG_Required_parameter_s_not_specified

public static final int MSG_Required_parameter_s_not_specified
See Also:
Constant Field Values

MSG_Usage_java_s

public static final int MSG_Usage_java_s
See Also:
Constant Field Values

MSG_Default_is

public static final int MSG_Default_is
See Also:
Constant Field Values

MSG_s_returned_status_s

public static final int MSG_s_returned_status_s
See Also:
Constant Field Values

MSG_Include_file_s_not_found

public static final int MSG_Include_file_s_not_found
See Also:
Constant Field Values

MSG_Endif_without_if

public static final int MSG_Endif_without_if
See Also:
Constant Field Values

MSG_Too_many_closing_parens

public static final int MSG_Too_many_closing_parens
See Also:
Constant Field Values

MSG_Too_few_closing_parens

public static final int MSG_Too_few_closing_parens
See Also:
Constant Field Values

MSG_Not_an_integer_constant

public static final int MSG_Not_an_integer_constant
See Also:
Constant Field Values

MSG_Not_a_macro_call

public static final int MSG_Not_a_macro_call
See Also:
Constant Field Values

MSG_Too_many_macro_arguments

public static final int MSG_Too_many_macro_arguments
See Also:
Constant Field Values

MSG_Too_few_macro_arguments

public static final int MSG_Too_few_macro_arguments
See Also:
Constant Field Values

MSG_Invalid_macro_definition

public static final int MSG_Invalid_macro_definition
See Also:
Constant Field Values

MSG_Pre_defined_macros_can_not_be_redefined

public static final int MSG_Pre_defined_macros_can_not_be_redefined
See Also:
Constant Field Values

MSG_Pre_defined_macros_can_not_be_undefined

public static final int MSG_Pre_defined_macros_can_not_be_undefined
See Also:
Constant Field Values

MSG_Unknown_file_extension_s

public static final int MSG_Unknown_file_extension_s
See Also:
Constant Field Values

MSG_Failed_to_compile_s

public static final int MSG_Failed_to_compile_s
See Also:
Constant Field Values

MSG_Failed_to_generate_IL_file_for_multiple_files

public static final int MSG_Failed_to_generate_IL_file_for_multiple_files
See Also:
Constant Field Values

MSG_Failed_to_generate_IL_file_for_s

public static final int MSG_Failed_to_generate_IL_file_for_s
See Also:
Constant Field Values

MSG_Source_file_not_found_s

public static final int MSG_Source_file_not_found_s
See Also:
Constant Field Values

MSG_Unknown_file_type_s

public static final int MSG_Unknown_file_type_s
See Also:
Constant Field Values

MSG_Using_profiling_information

public static final int MSG_Using_profiling_information
See Also:
Constant Field Values

MSG_Invalid_statement

public static final int MSG_Invalid_statement
See Also:
Constant Field Values

MSG_Expecting_s_found_s

public static final int MSG_Expecting_s_found_s
See Also:
Constant Field Values

MSG_Too_many_initializers

public static final int MSG_Too_many_initializers
See Also:
Constant Field Values

MSG_Generating_s

public static final int MSG_Generating_s
See Also:
Constant Field Values

MSG_Assembling_s

public static final int MSG_Assembling_s
See Also:
Constant Field Values

MSG_Clef

public static final int MSG_Clef
See Also:
Constant Field Values

MSG_Scribble_s

public static final int MSG_Scribble_s
See Also:
Constant Field Values

MSG_Optimizing_s

public static final int MSG_Optimizing_s
See Also:
Constant Field Values

MSG_Converting_multiple_files_to_Scribble

public static final int MSG_Converting_multiple_files_to_Scribble
See Also:
Constant Field Values

MSG_Converting_to_Scribble_s

public static final int MSG_Converting_to_Scribble_s
See Also:
Constant Field Values

MSG_Start

public static final int MSG_Start
See Also:
Constant Field Values

MSG_End

public static final int MSG_End
See Also:
Constant Field Values

MSG_Use_Profile_Info_Start

public static final int MSG_Use_Profile_Info_Start
See Also:
Constant Field Values

MSG_Use_Profile_Info_End

public static final int MSG_Use_Profile_Info_End
See Also:
Constant Field Values

MSG_Inlining_Start

public static final int MSG_Inlining_Start
See Also:
Constant Field Values

MSG_Inlining_End

public static final int MSG_Inlining_End
See Also:
Constant Field Values

MSG_Alias_Analysis_Start

public static final int MSG_Alias_Analysis_Start
See Also:
Constant Field Values

MSG_Alias_Analysis_End

public static final int MSG_Alias_Analysis_End
See Also:
Constant Field Values

MSG_Main_already_defined_in_s

public static final int MSG_Main_already_defined_in_s
See Also:
Constant Field Values

MSG_s_is_not_a_variable

public static final int MSG_s_is_not_a_variable
See Also:
Constant Field Values

MSG_s_is_not_an_integer_variable

public static final int MSG_s_is_not_an_integer_variable
See Also:
Constant Field Values

MSG_Invalid_goto_statement

public static final int MSG_Invalid_goto_statement
See Also:
Constant Field Values

MSG_Invalid_statement_label

public static final int MSG_Invalid_statement_label
See Also:
Constant Field Values

MSG_Unit_not_specified

public static final int MSG_Unit_not_specified
See Also:
Constant Field Values

MSG_Not_an_integer_value

public static final int MSG_Not_an_integer_value
See Also:
Constant Field Values

MSG_Not_a_scalar_value

public static final int MSG_Not_a_scalar_value
See Also:
Constant Field Values

MSG_Not_a_CHARACTER_value

public static final int MSG_Not_a_CHARACTER_value
See Also:
Constant Field Values

MSG_Not_a_LOGICAL_value

public static final int MSG_Not_a_LOGICAL_value
See Also:
Constant Field Values

MSG_Missing_END_statement

public static final int MSG_Missing_END_statement
See Also:
Constant Field Values

MSG_Improper_continuation_statement

public static final int MSG_Improper_continuation_statement
See Also:
Constant Field Values

MSG_Concatenation_of_unknown_length_not_allowed

public static final int MSG_Concatenation_of_unknown_length_not_allowed
See Also:
Constant Field Values

MSG_Call_does_not_match_routine_definition

public static final int MSG_Call_does_not_match_routine_definition
See Also:
Constant Field Values

MSG_Unknown_intrinsic_function_s

public static final int MSG_Unknown_intrinsic_function_s
See Also:
Constant Field Values

MSG_Invalid_KIND_selector

public static final int MSG_Invalid_KIND_selector
See Also:
Constant Field Values

MSG_Invalid_FORMAT_specifier

public static final int MSG_Invalid_FORMAT_specifier
See Also:
Constant Field Values

MSG_Invalid_CFG_after_optimization_s

public static final int MSG_Invalid_CFG_after_optimization_s
See Also:
Constant Field Values

MSG_Elapsed_time_s

public static final int MSG_Elapsed_time_s
See Also:
Constant Field Values

MSG_Parser_s_not_found

public static final int MSG_Parser_s_not_found
See Also:
Constant Field Values

MSG_The_shapes_of_the_array_expressions_do_not_conform

public static final int MSG_The_shapes_of_the_array_expressions_do_not_conform
See Also:
Constant Field Values

MSG_Use_of_Os_with_g_is_not_recommended

public static final int MSG_Use_of_Os_with_g_is_not_recommended
See Also:
Constant Field Values

MSG_Pragma_not_processed_s

public static final int MSG_Pragma_not_processed_s
See Also:
Constant Field Values

MSG_Invalid_type_operand_to_s

public static final int MSG_Invalid_type_operand_to_s
See Also:
Constant Field Values

MSG_Unable_to_instruction_schedule_s

public static final int MSG_Unable_to_instruction_schedule_s
See Also:
Constant Field Values

MSG_Suspended_press_enter

public static final int MSG_Suspended_press_enter
See Also:
Constant Field Values

MSG_Invalid_profile_data_s

public static final int MSG_Invalid_profile_data_s
See Also:
Constant Field Values

HLP_none

public static final int HLP_none
See Also:
Constant Field Values

HLP_G

public static final int HLP_G
See Also:
Constant Field Values

HLP_daVinci

public static final int HLP_daVinci
See Also:
Constant Field Values

HLP_unused_3

public static final int HLP_unused_3
See Also:
Constant Field Values

HLP_d

public static final int HLP_d
See Also:
Constant Field Values

HLP_dd

public static final int HLP_dd
See Also:
Constant Field Values

HLP_files

public static final int HLP_files
See Also:
Constant Field Values

HLP_I

public static final int HLP_I
See Also:
Constant Field Values

HLP_Is

public static final int HLP_Is
See Also:
Constant Field Values

HLP_A

public static final int HLP_A
See Also:
Constant Field Values

HLP_D

public static final int HLP_D
See Also:
Constant Field Values

HLP_U

public static final int HLP_U
See Also:
Constant Field Values

HLP_t

public static final int HLP_t
See Also:
Constant Field Values

HLP_f

public static final int HLP_f
See Also:
Constant Field Values

HLP_inl

public static final int HLP_inl
See Also:
Constant Field Values

HLP_inls

public static final int HLP_inls
See Also:
Constant Field Values

HLP_unused_16

public static final int HLP_unused_16
See Also:
Constant Field Values

HLP_pi

public static final int HLP_pi
See Also:
Constant Field Values

HLP_pp

public static final int HLP_pp
See Also:
Constant Field Values

HLP_cmi

public static final int HLP_cmi
See Also:
Constant Field Values

HLP_M

public static final int HLP_M
See Also:
Constant Field Values

HLP_unused_21

public static final int HLP_unused_21
See Also:
Constant Field Values

HLP_cat

public static final int HLP_cat
See Also:
Constant Field Values

HLP_stat

public static final int HLP_stat
See Also:
Constant Field Values

HLP_cdd

public static final int HLP_cdd
See Also:
Constant Field Values

HLP_san

public static final int HLP_san
See Also:
Constant Field Values

HLP_E

public static final int HLP_E
See Also:
Constant Field Values

HLP_L

public static final int HLP_L
See Also:
Constant Field Values

HLP_o

public static final int HLP_o
See Also:
Constant Field Values

HLP_S

public static final int HLP_S
See Also:
Constant Field Values

HLP_oa

public static final int HLP_oa
See Also:
Constant Field Values

HLP_oc

public static final int HLP_oc
See Also:
Constant Field Values

HLP_ccb

public static final int HLP_ccb
See Also:
Constant Field Values

HLP_cca

public static final int HLP_cca
See Also:
Constant Field Values

HLP_cgb

public static final int HLP_cgb
See Also:
Constant Field Values

HLP_cga

public static final int HLP_cga
See Also:
Constant Field Values

HLP_dcg

public static final int HLP_dcg
See Also:
Constant Field Values

HLP_c89

public static final int HLP_c89
See Also:
Constant Field Values

HLP_c99

public static final int HLP_c99
See Also:
Constant Field Values

HLP_gcc

public static final int HLP_gcc
See Also:
Constant Field Values

HLP_ckr

public static final int HLP_ckr
See Also:
Constant Field Values

HLP_ansi

public static final int HLP_ansi
See Also:
Constant Field Values

HLP_unsafe

public static final int HLP_unsafe
See Also:
Constant Field Values

HLP_scb

public static final int HLP_scb
See Also:
Constant Field Values

HLP_sca

public static final int HLP_sca
See Also:
Constant Field Values

HLP_sgb

public static final int HLP_sgb
See Also:
Constant Field Values

HLP_sga

public static final int HLP_sga
See Also:
Constant Field Values

HLP_version

public static final int HLP_version
See Also:
Constant Field Values

HLP_snap

public static final int HLP_snap
See Also:
Constant Field Values

HLP_gdb

public static final int HLP_gdb
See Also:
Constant Field Values

HLP_naln

public static final int HLP_naln
See Also:
Constant Field Values

HLP_is

public static final int HLP_is
See Also:
Constant Field Values

HLP_bi

public static final int HLP_bi
See Also:
Constant Field Values

HLP_ph

public static final int HLP_ph
See Also:
Constant Field Values

HLP_unused_54

public static final int HLP_unused_54
See Also:
Constant Field Values

HLP_np

public static final int HLP_np
See Also:
Constant Field Values

HLP_quiet

public static final int HLP_quiet
See Also:
Constant Field Values

HLP_hda

public static final int HLP_hda
See Also:
Constant Field Values

HLP_fpr

public static final int HLP_fpr
See Also:
Constant Field Values

HLP_hb

public static final int HLP_hb
See Also:
Constant Field Values

HLP_wrap

public static final int HLP_wrap
See Also:
Constant Field Values

HLP_arch

public static final int HLP_arch
See Also:
Constant Field Values

HLP_cc

public static final int HLP_cc
See Also:
Constant Field Values

HLP_asm

public static final int HLP_asm
See Also:
Constant Field Values

HLP_unused_64

public static final int HLP_unused_64
See Also:
Constant Field Values

HLP_unused_65

public static final int HLP_unused_65
See Also:
Constant Field Values

HLP_dir

public static final int HLP_dir
See Also:
Constant Field Values

HLP_r

public static final int HLP_r
See Also:
Constant Field Values

HLP_for

public static final int HLP_for
See Also:
Constant Field Values

HLP_ff

public static final int HLP_ff
See Also:
Constant Field Values

HLP_pg

public static final int HLP_pg
See Also:
Constant Field Values

HLP_AA

public static final int HLP_AA
See Also:
Constant Field Values

HLP_O

public static final int HLP_O
See Also:
Constant Field Values

HLP_help

public static final int HLP_help
See Also:
Constant Field Values

HLP_vcc

public static final int HLP_vcc
See Also:
Constant Field Values

HLP_ccc

public static final int HLP_ccc
See Also:
Constant Field Values

HLP_unused_76

public static final int HLP_unused_76
See Also:
Constant Field Values

HLP_occ

public static final int HLP_occ
See Also:
Constant Field Values

HLP_Occ

public static final int HLP_Occ
See Also:
Constant Field Values

HLP_phelp

public static final int HLP_phelp
See Also:
Constant Field Values

HLP_w

public static final int HLP_w
See Also:
Constant Field Values

HLP_vcg

public static final int HLP_vcg
See Also:
Constant Field Values

HLP_icf

public static final int HLP_icf
See Also:
Constant Field Values

HLP_sc

public static final int HLP_sc
See Also:
Constant Field Values

HLP_sf

public static final int HLP_sf
See Also:
Constant Field Values

HLP_dm

public static final int HLP_dm
See Also:
Constant Field Values

HLP_ih

public static final int HLP_ih
See Also:
Constant Field Values

HLP_phb

public static final int HLP_phb
See Also:
Constant Field Values

HLP_nw

public static final int HLP_nw
See Also:
Constant Field Values

HLP_suspend

public static final int HLP_suspend
See Also:
Constant Field Values

ignoreAllWarnings

public static boolean ignoreAllWarnings
If true, do not print warning messages.


reportInfo

public static boolean reportInfo
If true, print informational messages.

Constructor Detail

Msg

protected Msg()
Method Detail

getMessages

protected abstract java.lang.String[] getMessages()

getHelpMessages

protected abstract java.lang.String[] getHelpMessages()

getErrorString

protected abstract java.lang.String getErrorString()

getWarningString

protected abstract java.lang.String getWarningString()

getInfoString

protected abstract java.lang.String getInfoString()

getMessage

public static final java.lang.String getMessage(int msgIndex)

getHelpMessage

public static final java.lang.String getHelpMessage(int msgIndex)

insertText

public static java.lang.String insertText(java.lang.String str,
                                          java.lang.String text)
Return the specified string with the first occurrence of %s replaced by the specified text.


insertText

public static java.lang.String insertText(java.lang.String str,
                                          java.lang.String text1,
                                          java.lang.String text2)
Return the specified string with the first and second occurrences of %s replaced by the specified text.


insertText

public static java.lang.String insertText(int errno,
                                          java.lang.String text)
Return the specified string with the first occurrence of %s replaced by the specified text.


insertText

public static java.lang.String insertText(int errno,
                                          java.lang.String text1,
                                          java.lang.String text2)
Return the specified string with the first and second occurrences of %s replaced by the specified text.


setup

public static void setup(java.lang.String language)
Initialize the message system before it is used.

Parameters:
language - is the language to use or null for the default for this locale

reportError

public static void reportError(int errno,
                               java.lang.String filename,
                               int lineno,
                               int column,
                               java.lang.String text1,
                               java.lang.String text2)
Report the error message for the file at the line and column specified.

Parameters:
errno - specifies the error message
filename - is the filename for the message and may be null
lineno - is the line number if greater than 0
column - is the column number if greater than 0
text1 - is text to insert into the message and may be null
text2 - is text to insert into the message and may be null

reportError

public static void reportError(int errno,
                               java.lang.String filename,
                               int lineno,
                               int column,
                               java.lang.String text)
Report the error message for the file at the line and column specified.

Parameters:
errno - specifies the error message
filename - is the filename for the message and may be null
lineno - is the line number if greater than 0
column - is the column number if greater than 0
text - is text to insert into the message and may be null

reportError

public static void reportError(int errno,
                               java.lang.String text)
Report the error message for the file at the line and column specified.

Parameters:
errno - specifies the error message
text - is text to insert into the message and may be null

reportWarning

public static void reportWarning(int errno,
                                 java.lang.String filename,
                                 int lineno,
                                 int column,
                                 java.lang.String text)
Report the warning message for the file at the line and column specified.

Parameters:
errno - specifies the warning message
filename - is the filename for the message and may be null
lineno - is the line number if greater than 0
column - is the column number if greater than 0
text - is text to insert into the message and may be null

reportWarning

public static void reportWarning(int errno,
                                 java.lang.String text)
Report the warning message for the file at the line and column specified.

Parameters:
errno - specifies the warning message
text - is text to insert into the message and may be null

reportWarning

public static void reportWarning(int errno,
                                 java.lang.String filename,
                                 int lineno,
                                 int column,
                                 java.lang.String text1,
                                 java.lang.String text2)
Report the warning message for the file at the line and column specified.

Parameters:
errno - specifies the warning message
filename - is the filename for the message and may be null
lineno - is the line number if greater than 0
column - is the column number if greater than 0
text1 - is text to insert into the message and may be null
text2 - is text to insert into the message and may be null

reportInfo

public static void reportInfo(int errno,
                              java.lang.String filename,
                              int lineno,
                              int column,
                              java.lang.String text)
Report the informational message for the file at the line and column specified.

Parameters:
errno - specifies the informational message
filename - is the filename for the message and may be null
lineno - is the line number if greater than 0
column - is the column number if greater than 0
text - is text to insert into the message and may be null

reportInfo

public static void reportInfo(int errno,
                              java.lang.String text)
Report the informational message for the file at the line and column specified.

Parameters:
errno - specifies the informational message
text - is text to insert into the message and may be null

reportInfo

public static void reportInfo(int errno,
                              java.lang.String filename,
                              int lineno,
                              int column,
                              java.lang.String text1,
                              java.lang.String text2)
Report the informational message for the file at the line and column specified.

Parameters:
errno - specifies the informational message
filename - is the filename for the message and may be null
lineno - is the line number if greater than 0
column - is the column number if greater than 0
text1 - is text to insert into the message and may be null
text2 - is text to insert into the message and may be null

ignoreWarning

public static void ignoreWarning(int errno)
Specify to ignore a specific warning.


ignoreWarning

public static void ignoreWarning(int first,
                                 int last)
Specify a range of warnings to ignore.