parsercmd/src/clconvert.cxx
// ===========================================================================
// This returns true to indicate that an unrecognized option is ignored,
// and treated as accepting no argument.  Giving an error for unrecognized
// options would put an intolerable burden on configuration file maintenance,
// because it's hard to list all options of even a single version of one
// compiler.  Copying unrecognized options in the translation has also
// proved useless in released configuration files.  However, we allow the
// config file to indicate either of these.
//
This returns true to indicate that an unrecognized option is ignored,
and treated as accepting no argument.  Giving an error for unrecognized
options would put an intolerable burden on configuration file maintenance,
because it's hard to list all options of even a single version of one
compiler.  Copying unrecognized options in the translation has also
proved useless in released configuration files.  However, we allow the
config file to indicate either of these.
This returns true to indicate that an unrecognized option is ignored and treated as accepting no argument . Giving an error for unrecognized options would put an intolerable burden on configuration file maintenance because it ' s hard to list all options of even a single version of one compiler . Copying unrecognized options in the translation has also proved useless in released configuration files . However we allow the config file to indicate either of these .
bool CommandLineConverter::unrecognized_option(const string &optname)
{
    TranslatedOutput *block = interp->unrecognized_receiver();
    if (block != NULL) {
	block->translation.push_back(optname);
    }
    if (interp->unrecognized_msg() < msg_sev(no_message_sev)) {
	msg("Unrecognized command line option: $1", interp->unrecognized_msg())
	    << optname << eoarg << eom;
    }
    return true;
}
bool CommandLineConverter :: unrecognized_option ( const string & optname ) { TranslatedOutput * block = interp -> unrecognized_receiver ( ) ; if ( block != NULL ) { block -> translation . push_back ( optname ) ; } if ( interp -> unrecognized_msg ( ) < msg_sev ( no_message_sev ) ) { msg ( " " , interp -> unrecognized_msg ( ) ) << optname << eoarg << eom ; } return true ; }
This returns true to indicate that an unrecognized option is ignored,
and treated as accepting no argument.
This returns true to indicate that an unrecognized option is ignored and treated as accepting no argument .