FreeBSD/contrib/gcc/c-opts.c
/* Complain that switch CODE expects an argument but none was
   provided.  OPT was the command-line option.  Return FALSE to get
   the default message in opts.c, TRUE if we provide a specialized
   one.  */
Complain that switch CODE expects an argument but none was
provided.  OPT was the command-line option.  Return FALSE to get
the default message in opts.c, TRUE if we provide a specialized
one.
Complain that switch CODE expects an argument but none was provided . OPT was the command - line option . Return FALSE to get the default message in opts . c TRUE if we provide a specialized one .
bool
c_common_missing_argument (const char *opt, size_t code)
{
  switch (code)
    {
    default:
      return false;
    case OPT_fconstant_string_class_:
      error ("no class name specified with %qs", opt);
      break;
    case OPT_A:
      error ("assertion missing after %qs", opt);
      break;
    case OPT_D:
    case OPT_U:
      error ("macro name missing after %qs", opt);
      break;
    case OPT_F:
    case OPT_I:
    case OPT_idirafter:
    case OPT_isysroot:
    case OPT_isystem:
    case OPT_iquote:
      error ("missing path after %qs", opt);
      break;
    case OPT_MF:
    case OPT_MD:
    case OPT_MMD:
    case OPT_include:
    case OPT_imacros:
    case OPT_o:
      error ("missing filename after %qs", opt);
      break;
    case OPT_MQ:
    case OPT_MT:
      error ("missing makefile target after %qs", opt);
      break;
    }
  return true;
}
bool c_common_missing_argument ( const char * opt , size_t code ) { switch ( code ) { default : return false ; case OPT_fconstant_string_class_ : error ( " " , opt ) ; break ; case OPT_A : error ( " " , opt ) ; break ; case OPT_D : case OPT_U : error ( " " , opt ) ; break ; case OPT_F : case OPT_I : case OPT_idirafter : case OPT_isysroot : case OPT_isystem : case OPT_iquote : error ( " " , opt ) ; break ; case OPT_MF : case OPT_MD : case OPT_MMD : case OPT_include : case OPT_imacros : case OPT_o : error ( " " , opt ) ; break ; case OPT_MQ : case OPT_MT : error ( " " , opt ) ; break ; } return true ; }
Complain that switch CODE expects an argument but none was
provided.
Complain that switch CODE expects an argument but none was provided .
/* Pick up the default message.  */