]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-family/c.opt
common.opt (o): Add MissingArgError.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 27 Jul 2010 14:43:31 +0000 (15:43 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 27 Jul 2010 14:43:31 +0000 (15:43 +0100)
commit61ff2bdc6c2bc3f08a5e45aeb57e48ec21604e0a
tree8827f91fc9b3f24a4fdd5c851a07702213bfc0c3
parent4e98bcaf2984720ac9be21d344e0240b3db6da07
common.opt (o): Add MissingArgError.

* common.opt (o): Add MissingArgError.
* doc/options.texi (MissingArgError): Document.
* hooks.c (hook_bool_constcharptr_size_t_false): Remove.
* hooks.h (hook_bool_constcharptr_size_t_false): Remove.
* langhooks-def.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
(LANG_HOOKS_INITIALIZER): Remove missing_argument hook
initializer.
* langhooks.h (struct lang_hooks): Remove missing_argument.
* optc-gen.awk: Handle MissingArgError and output new structure
field initializers.
* opts.c (read_cmdline_option): Use missing_argument_error field
instead of missing_argument langhook.
* opts.h (struct cl_option): Add missing_argument_error field.
* system.h (LANG_HOOKS_MISSING_ARGUMENT): Poison.

c-family:
* c-common.h (c_common_missing_argument): Remove.
* c-opts.c (c_common_missing_argument): Remove.
* c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
idirafter, imacros, include, isysroot, isystem, iquote): Add
MissingArgError.
* c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.

cp:
* cp-objcp-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.

po:
* exgettext: Also extract MissingArgError texts from .opt files.

From-SVN: r162571
20 files changed:
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-common.h
gcc/c-family/c-opts.c
gcc/c-family/c.opt
gcc/c-objc-common.h
gcc/common.opt
gcc/cp/ChangeLog
gcc/cp/cp-objcp-common.h
gcc/doc/options.texi
gcc/hooks.c
gcc/hooks.h
gcc/langhooks-def.h
gcc/langhooks.h
gcc/optc-gen.awk
gcc/opts.c
gcc/opts.h
gcc/po/ChangeLog
gcc/po/exgettext
gcc/system.h