|
From: Michael G. <gi...@gi...> - 2010-10-02 19:11:04
|
interp: remove all unused error strings defines Signed-off-by: Michael Geszkiewicz <mi...@wp...> http://git.linuxcnc.org/?p=emc2.git;a=commitdiff;h=846bdfc --- src/emc/rs274ngc/rs274ngc_return.hh | 39 ----------------------------------- 1 files changed, 0 insertions(+), 39 deletions(-) diff --git a/src/emc/rs274ngc/rs274ngc_return.hh b/src/emc/rs274ngc/rs274ngc_return.hh index 655c95c..df2684d 100644 --- a/src/emc/rs274ngc/rs274ngc_return.hh +++ b/src/emc/rs274ngc/rs274ngc_return.hh @@ -9,7 +9,6 @@ #define NCE_ARGUMENT_TO_ASIN_OUT_OF_RANGE _("Argument to asin out of range") #define NCE_ATTEMPT_TO_DIVIDE_BY_ZERO _("Attempt to divide by zero") #define NCE_ATTEMPT_TO_RAISE_NEGATIVE_TO_NON_INTEGER_POWER _("Attempt to raise negative to non integer power") -#define NCE_BAD_CHARACTER_USED _("Bad character used") #define NCE_BAD_FORMAT_UNSIGNED_INTEGER _("Bad format unsigned integer") #define NCE_BAD_NUMBER_FORMAT _("Bad number format") #define NCE_BUG_BAD_G_CODE_MODAL_GROUP_0 _("Bug bad g code modal group 0") @@ -18,12 +17,9 @@ #define NCE_BUG_CODE_NOT_G20_OR_G21 _("Bug code not g20 or g21") #define NCE_BUG_CODE_NOT_G28_OR_G30 _("Bug code not g28 or g30") #define NCE_BUG_CODE_NOT_G2_OR_G3 _("Bug code not g2 or g3") -#define NCE_BUG_CODE_NOT_G40_G41_OR_G42 _("Bug code not g40 g41 or g42") -#define NCE_BUG_CODE_NOT_G43_OR_G49 _("Bug code not g43 or g49") #define NCE_BUG_CODE_NOT_G4_G10_G28_G30_G53_OR_G92_SERIES _("Bug code not g4 g10 g28 g30 g53 or g92 series") #define NCE_BUG_CODE_NOT_G61_G61_1_OR_G64 _("Bug code not g61 g61.1 or g64") #define NCE_BUG_CODE_NOT_G90_OR_G91 _("Bug code not g90 or g91") -#define NCE_BUG_CODE_NOT_G93_OR_G94 _("Bug code not g93 or g94") #define NCE_BUG_CODE_NOT_G98_OR_G99 _("Bug code not g98 or g99") #define NCE_BUG_CODE_NOT_IN_G92_SERIES _("Bug code not in g92 series") #define NCE_BUG_CODE_NOT_IN_RANGE_G54_TO_G593 _("Bug code not in range g54 to g593") @@ -36,39 +32,26 @@ #define NCE_BUG_UNKNOWN_MOTION_CODE _("Bug unknown motion code") #define NCE_BUG_UNKNOWN_OPERATION _("Bug unknown operation") #define NCE_CANNOT_CHANGE_AXIS_OFFSETS_WITH_CUTTER_RADIUS_COMP _("Cannot change axis offsets with cutter radius comp") -#define NCE_CANNOT_CHANGE_UNITS_WITH_CUTTER_RADIUS_COMP _("Cannot change units with cutter radius comp") #define NCE_CANNOT_CREATE_BACKUP_FILE _("Cannot create backup file") #define NCE_CANNOT_DO_G1_WITH_ZERO_FEED_RATE _("Cannot do g1 with zero feed rate") #define NCE_CANNOT_DO_ZERO_REPEATS_OF_CYCLE _("Cannot do zero repeats of cycle") #define NCE_CANNOT_MAKE_ARC_WITH_ZERO_FEED_RATE _("Cannot make arc with zero feed rate") -#define NCE_CANNOT_MOVE_ROTARY_AXES_DURING_PROBING _("Cannot move rotary axes during probing") #define NCE_CANNOT_OPEN_BACKUP_FILE _("Cannot open backup file") #define NCE_CANNOT_OPEN_VARIABLE_FILE _("Cannot open variable file") -#define NCE_CANNOT_PROBE_IN_INVERSE_TIME_FEED_MODE _("Cannot probe in inverse time feed mode") #define NCE_CANNOT_PROBE_WITH_CUTTER_RADIUS_COMP_ON _("Cannot probe with cutter radius comp on") #define NCE_CANNOT_PROBE_WITH_ZERO_FEED_RATE _("Cannot probe with zero feed rate") #define NCE_CANNOT_PUT_A_B_IN_CANNED_CYCLE _("Cannot put a b in canned cycle") #define NCE_CANNOT_PUT_A_C_IN_CANNED_CYCLE _("Cannot put a c in canned cycle") #define NCE_CANNOT_PUT_AN_A_IN_CANNED_CYCLE _("Cannot put an a in canned cycle") -#define NCE_CANNOT_TURN_CUTTER_RADIUS_COMP_ON_OUT_OF_XY_PLANE _("Cannot turn cutter radius comp on out of xy plane") #define NCE_CANNOT_TURN_CUTTER_RADIUS_COMP_ON_WHEN_ON _("Cannot turn cutter radius comp on when on") -#define NCE_CANNOT_USE_A_WORD _("Cannot use a word") #define NCE_CANNOT_USE_AXIS_VALUES_WITH_G80 _("Cannot use axis values with g80") #define NCE_CANNOT_USE_AXIS_VALUES_WITHOUT_A_G_CODE_THAT_USES_THEM _("Cannot use axis values without a g code that uses them") -#define NCE_CANNOT_USE_B_WORD _("Cannot use b word") -#define NCE_CANNOT_USE_C_WORD _("Cannot use c word") #define NCE_CANNOT_USE_G28_OR_G30_WITH_CUTTER_RADIUS_COMP _("Cannot use g28 or g30 with cutter radius comp") #define NCE_CANNOT_USE_G53_INCREMENTAL _("Cannot use g53 incremental") #define NCE_CANNOT_USE_G53_WITH_CUTTER_RADIUS_COMP _("Cannot use g53 with cutter radius comp") #define NCE_CANNOT_USE_TWO_G_CODES_THAT_BOTH_USE_AXIS_VALUES _("Cannot use two g codes that both use axis values") -#define NCE_CANNOT_USE_XZ_PLANE_WITH_CUTTER_RADIUS_COMP _("Cannot use xz plane with cutter radius comp") -#define NCE_CANNOT_USE_YZ_PLANE_WITH_CUTTER_RADIUS_COMP _("Cannot use yz plane with cutter radius comp") #define NCE_COMMAND_TOO_LONG _("Command too long") -#define NCE_CONCAVE_CORNER_WITH_CUTTER_RADIUS_COMP _("Concave corner with cutter radius comp") -#define NCE_COORDINATE_SYSTEM_INDEX_PARAMETER_5220_OUT_OF_RANGE _("Coordinate system index parameter 5220 out of range") #define NCE_CURRENT_POINT_SAME_AS_END_POINT_OF_ARC _("Current point same as end point of arc") -#define NCE_CUTTER_GOUGING_WITH_CUTTER_RADIUS_COMP _("Cutter gouging with cutter radius comp") -#define NCE_D_WORD_WITH_NO_G41_OR_G42 _("D word with no g41 or g42") #define NCE_DWELL_TIME_MISSING_WITH_G4 _("Dwell time missing with g4") #define NCE_DWELL_TIME_P_WORD_MISSING_WITH_G82 _("Dwell time p word missing with g82") #define NCE_DWELL_TIME_P_WORD_MISSING_WITH_G86 _("Dwell time p word missing with g86") @@ -83,18 +66,12 @@ #define NCE_G_CODE_OUT_OF_RANGE _("G code out of range") #define NCE_I_WORD_GIVEN_FOR_ARC_IN_YZ_PLANE _("I word given for arc in yz plane") #define NCE_I_WORD_MISSING_WITH_G87 _("I word missing with g87") -#define NCE_I_WORD_WITH_NO_G2_OR_G3_G76_OR_G87_TO_USE_IT _("I word with no g2, g3, g87, or g43 to use it") #define NCE_J_WORD_GIVEN_FOR_ARC_IN_XZ_PLANE _("J word given for arc in xz plane") #define NCE_J_WORD_MISSING_WITH_G87 _("J word missing with g87") -#define NCE_J_WORD_WITH_NO_G2_OR_G3_G76_OR_G87_TO_USE_IT _("J word with no g2, g3 or g87 to use it") #define NCE_K_WORD_GIVEN_FOR_ARC_IN_XY_PLANE _("K word given for arc in xy plane") #define NCE_K_WORD_MISSING_WITH_G87 _("K word missing with g87") -#define NCE_K_WORD_WITH_NO_G2_OR_G3_G76_OR_G87_TO_USE_IT _("K word with no g2, g3, g33, g33.1, g76, g87, or g43.1 to use it") -#define NCE_L_WORD_WITH_NO_CANNED_CYCLE_OR_G10 _("L word with no canned cycle, g10, or g76 to use it") #define NCE_LEFT_BRACKET_MISSING_AFTER_SLASH_WITH_ATAN _("Left bracket missing after slash with atan") #define NCE_LEFT_BRACKET_MISSING_AFTER_UNARY_OPERATION_NAME _("Left bracket missing after unary operation name") -#define NCE_LINE_NUMBER_GREATER_THAN_99999 _("Line number greater than 99999") -#define NCE_LINE_WITH_G10_DOES_NOT_HAVE_L2 _("Line with g10 does not have l2") #define NCE_M_CODE_GREATER_THAN_199 _("M code greater than 199") #define NCE_MIXED_RADIUS_IJK_FORMAT_FOR_ARC _("Mixed radius ijk format for arc") #define NCE_MULTIPLE_A_WORDS_ON_ONE_LINE _("Multiple a words on one line") @@ -129,17 +106,12 @@ #define NCE_NEGATIVE_TOOL_ID_USED _("Negative tool id used") #define NCE_NESTED_COMMENT_FOUND _("Nested comment found") #define NCE_NO_CHARACTERS_FOUND_IN_READING_REAL_VALUE _("No characters found in reading real value") -#define NCE_NO_DIGITS_FOUND_WHERE_REAL_NUMBER_SHOULD_BE _("No digits found where real number should be") #define NCE_NON_INTEGER_VALUE_FOR_INTEGER _("Non integer value for integer") #define NCE_NULL_MISSING_AFTER_NEWLINE _("Null missing after newline") -#define NCE_OFFSET_INDEX_MISSING _("Offset index missing") -#define NCE_P_VALUE_NOT_AN_INTEGER_WITH_G10_L2 _("P value not an integer with g10 l2") -#define NCE_P_VALUE_OUT_OF_RANGE_WITH_G10_L2 _("P value out of range with g10 l2") #define NCE_PARAMETER_FILE_OUT_OF_ORDER _("Parameter file out of order") #define NCE_PARAMETER_NUMBER_OUT_OF_RANGE _("Parameter number out of range") #define NCE_PARAMETER_NUMBER_READONLY _("Parameter is readonly") #define NCE_Q_WORD_MISSING_WITH_G83 _("Q word missing with g83") -#define NCE_Q_WORD_WITH_NO_G83_OR_M66 _("Q word with no g83 or m66") #define NCE_QUEUE_IS_NOT_EMPTY_AFTER_PROBING _("Queue is not empty after probing") #define NCE_R_CLEARANCE_PLANE_UNSPECIFIED_IN_CYCLE _("R clearance plane unspecified in cycle") #define NCE_R_I_J_K_WORDS_ALL_MISSING_FOR_ARC _("R i j k words all missing for arc") @@ -147,10 +119,6 @@ #define NCE_R_LESS_THAN_Y_IN_CYCLE_IN_XZ_PLANE _("R less than y in cycle in xz plane") #define NCE_R_LESS_THAN_Z_IN_CYCLE_IN_XY_PLANE _("R less than z in cycle in xy plane") #define NCE_R_WORD_WITH_NO_G_CODE_THAT_USES_IT _("R word with no g code that uses it") -#define NCE_RADIUS_TO_END_OF_ARC_DIFFERS_FROM_RADIUS_TO_START _("Radius to end of arc differs from radius to start") -#define NCE_RADIUS_TOO_SMALL_TO_REACH_END_POINT _("Radius too small to reach end point") -#define NCE_REQUIRED_PARAMETER_MISSING _("Required parameter missing") -#define NCE_SELECTED_TOOL_SLOT_NUMBER_TOO_LARGE _("Selected tool slot number too large") #define NCE_SLASH_MISSING_AFTER_FIRST_ATAN_ARGUMENT _("Slash missing after first atan argument") #define NCE_SPINDLE_NOT_TURNING_CLOCKWISE_IN_G84 _("Spindle not turning clockwise in g84") #define NCE_SPINDLE_NOT_TURNING_IN_G86 _("Spindle not turning in g86") @@ -159,9 +127,7 @@ #define NCE_SSCANF_FAILED _("Sscanf failed") #define NCE_START_POINT_TOO_CLOSE_TO_PROBE_POINT _("Start point too close to probe point") #define NCE_TOO_MANY_M_CODES_ON_LINE _("Too many m codes on line") -#define NCE_TOOL_LENGTH_OFFSET_INDEX_TOO_BIG _("Tool length offset index too big") #define NCE_POCKET_MAX_TOO_LARGE _("Pocket max too large") -#define NCE_TOOL_RADIUS_INDEX_TOO_BIG _("Tool radius index too big") #define NCE_TOOL_RADIUS_NOT_LESS_THAN_ARC_RADIUS_WITH_COMP _("Tool radius not less than arc radius with comp") #define NCE_TWO_G_CODES_USED_FROM_SAME_MODAL_GROUP _("Two g codes used from same modal group") #define NCE_TWO_M_CODES_USED_FROM_SAME_MODAL_GROUP _("Two m codes used from same modal group") @@ -194,8 +160,6 @@ #define NCE_ZERO_RADIUS_ARC _("Zero radius arc") #define NCE_K_WORD_MISSING_WITH_G33 _("K word missing with g33/g33.1") #define NCE_F_WORD_USED_WITH_G33 _("F word used with a g33/g33.1") -#define NCE_G33_NOT_SUPPORTED _("G33 not supported") -#define NCE_CANNED_CYCLES_NOT_SUPPORTED _("Canned cycles not supported") #define NCE_UNKNOWN_OPERATION_NAME_STARTING_WITH_E _("Unknown operation name starting with e") #define NCE_UNKNOWN_OPERATION_NAME_STARTING_WITH_N _("Unknown operation name starting with n") #define NCE_UNKNOWN_OPERATION_NAME_STARTING_WITH_G _("Unknown operation name starting with g") @@ -207,7 +171,6 @@ #define NCE_UNKNOWN_OWORD_NUMBER _("Unknown oword number") #define NCE_NESTED_SUBROUTINE_DEFN _("Nested subroutine definition") #define NCE_NOT_IN_SUBROUTINE_DEFN _("Not in subroutine definition") -#define NCE_RETURN_OUTSIDE_OF_SUBROUTINE _("Return outside of subroutine") #define NCE_FILE_NOT_OPEN _("File not open") #define NCE_TXX_MISSING_FOR_M6 _("Need tool prepared -Txx- for toolchange") #define NCE_CANNOT_CHANGE_PLANES_WITH_CUTTER_RADIUS_COMP_ON _("Cannot change planes with cutter radius compensation on") @@ -217,8 +180,6 @@ #define NCE_CANNOT_MOVE_ROTARY_AXES_WITH_G76 _("Cannot move rotary axes with G76") #define NCE_MULTIPLE_E_WORDS_ON_ONE_LINE _("Multiple e words on one line") #define NCE_NAMED_PARAMETER_NOT_TERMINATED _("Named parameter not terminated") -#define NCE_NAMED_OWORD_NOT_TERMINATED _("Named oword not terminated") -#define NCE_NAMED_OWORD_NOT_DEFINED _("Named oword not defined") #define NCE_OUT_OF_MEMORY _("Out of memory") #define NCE_S_WORD_MISSING_WITH_G96 _("S word missing with G96") #define NCE_QUEUE_IS_NOT_EMPTY_AFTER_INPUT _("Queue is not empty after external input") |