; Options for the C, ObjC, C++ and ObjC++ front ends.
|
; Options for the C, ObjC, C++ and ObjC++ front ends.
|
; Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
|
; Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
|
;
|
;
|
; This file is part of GCC.
|
; This file is part of GCC.
|
;
|
;
|
; GCC is free software; you can redistribute it and/or modify it under
|
; GCC is free software; you can redistribute it and/or modify it under
|
; the terms of the GNU General Public License as published by the Free
|
; the terms of the GNU General Public License as published by the Free
|
; Software Foundation; either version 3, or (at your option) any later
|
; Software Foundation; either version 3, or (at your option) any later
|
; version.
|
; version.
|
;
|
;
|
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
|
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
|
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
; for more details.
|
; for more details.
|
;
|
;
|
; You should have received a copy of the GNU General Public License
|
; You should have received a copy of the GNU General Public License
|
; along with GCC; see the file COPYING3. If not see
|
; along with GCC; see the file COPYING3. If not see
|
; .
|
; .
|
|
|
; See the GCC internals manual for a description of this file's format.
|
; See the GCC internals manual for a description of this file's format.
|
|
|
; Please try to keep this file in ASCII collating order.
|
; Please try to keep this file in ASCII collating order.
|
|
|
Language
|
Language
|
C
|
C
|
|
|
Language
|
Language
|
ObjC
|
ObjC
|
|
|
Language
|
Language
|
C++
|
C++
|
|
|
Language
|
Language
|
ObjC++
|
ObjC++
|
|
|
-output-pch=
|
-output-pch=
|
C ObjC C++ ObjC++ Joined Separate
|
C ObjC C++ ObjC++ Joined Separate
|
|
|
A
|
A
|
C ObjC C++ ObjC++ Joined Separate
|
C ObjC C++ ObjC++ Joined Separate
|
-A= Assert the to . Putting '-' before disables the to
|
-A= Assert the to . Putting '-' before disables the to
|
|
|
C
|
C
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Do not discard comments
|
Do not discard comments
|
|
|
CC
|
CC
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Do not discard comments in macro expansions
|
Do not discard comments in macro expansions
|
|
|
D
|
D
|
C ObjC C++ ObjC++ Joined Separate
|
C ObjC C++ ObjC++ Joined Separate
|
-D[=] Define a with as its value. If just is given, is taken to be 1
|
-D[=] Define a with as its value. If just is given, is taken to be 1
|
|
|
E
|
E
|
C ObjC C++ ObjC++ Undocumented
|
C ObjC C++ ObjC++ Undocumented
|
|
|
F
|
F
|
C ObjC C++ ObjC++ Joined Separate
|
C ObjC C++ ObjC++ Joined Separate
|
-F Add to the end of the main framework include path
|
-F Add to the end of the main framework include path
|
|
|
H
|
H
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Print the name of header files as they are used
|
Print the name of header files as they are used
|
|
|
I
|
I
|
C ObjC C++ ObjC++ Joined Separate
|
C ObjC C++ ObjC++ Joined Separate
|
-I Add to the end of the main include path
|
-I Add to the end of the main include path
|
|
|
M
|
M
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Generate make dependencies
|
Generate make dependencies
|
|
|
MD
|
MD
|
C ObjC C++ ObjC++ Separate
|
C ObjC C++ ObjC++ Separate
|
Generate make dependencies and compile
|
Generate make dependencies and compile
|
|
|
MF
|
MF
|
C ObjC C++ ObjC++ Joined Separate
|
C ObjC C++ ObjC++ Joined Separate
|
-MF Write dependency output to the given file
|
-MF Write dependency output to the given file
|
|
|
MG
|
MG
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Treat missing header files as generated files
|
Treat missing header files as generated files
|
|
|
MM
|
MM
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Like -M but ignore system header files
|
Like -M but ignore system header files
|
|
|
MMD
|
MMD
|
C ObjC C++ ObjC++ Separate
|
C ObjC C++ ObjC++ Separate
|
Like -MD but ignore system header files
|
Like -MD but ignore system header files
|
|
|
MP
|
MP
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Generate phony targets for all headers
|
Generate phony targets for all headers
|
|
|
MQ
|
MQ
|
C ObjC C++ ObjC++ Joined Separate
|
C ObjC C++ ObjC++ Joined Separate
|
-MQ Add a MAKE-quoted target
|
-MQ Add a MAKE-quoted target
|
|
|
MT
|
MT
|
C ObjC C++ ObjC++ Joined Separate
|
C ObjC C++ ObjC++ Joined Separate
|
-MT Add an unquoted target
|
-MT Add an unquoted target
|
|
|
P
|
P
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Do not generate #line directives
|
Do not generate #line directives
|
|
|
U
|
U
|
C ObjC C++ ObjC++ Joined Separate
|
C ObjC C++ ObjC++ Joined Separate
|
-U Undefine
|
-U Undefine
|
|
|
Wabi
|
Wabi
|
C++ ObjC++ Var(warn_abi)
|
C++ ObjC++ Var(warn_abi)
|
Warn about things that will change when compiling with an ABI-compliant compiler
|
Warn about things that will change when compiling with an ABI-compliant compiler
|
|
|
Waddress
|
Waddress
|
C ObjC C++ ObjC++ Var(warn_address)
|
C ObjC C++ ObjC++ Var(warn_address)
|
Warn about suspicious uses of memory addresses
|
Warn about suspicious uses of memory addresses
|
|
|
Wall
|
Wall
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Enable most warning messages
|
Enable most warning messages
|
|
|
Wassign-intercept
|
Wassign-intercept
|
ObjC ObjC++ Var(warn_assign_intercept)
|
ObjC ObjC++ Var(warn_assign_intercept)
|
Warn whenever an Objective-C assignment is being intercepted by the garbage collector
|
Warn whenever an Objective-C assignment is being intercepted by the garbage collector
|
|
|
Wbad-function-cast
|
Wbad-function-cast
|
C ObjC Var(warn_bad_function_cast)
|
C ObjC Var(warn_bad_function_cast)
|
Warn about casting functions to incompatible types
|
Warn about casting functions to incompatible types
|
|
|
Wc++-compat
|
Wc++-compat
|
C ObjC Var(warn_cxx_compat)
|
C ObjC Var(warn_cxx_compat)
|
Warn about C constructs that are not in the common subset of C and C++
|
Warn about C constructs that are not in the common subset of C and C++
|
|
|
|
|
Wcast-qual
|
Wcast-qual
|
C ObjC C++ ObjC++ Var(warn_cast_qual)
|
C ObjC C++ ObjC++ Var(warn_cast_qual)
|
Warn about casts which discard qualifiers
|
Warn about casts which discard qualifiers
|
|
|
Wchar-subscripts
|
Wchar-subscripts
|
C ObjC C++ ObjC++ Var(warn_char_subscripts)
|
C ObjC C++ ObjC++ Var(warn_char_subscripts)
|
Warn about subscripts whose type is \"char\"
|
Warn about subscripts whose type is \"char\"
|
|
|
Wcomment
|
Wcomment
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Warn about possibly nested block comments, and C++ comments spanning more than one physical line
|
Warn about possibly nested block comments, and C++ comments spanning more than one physical line
|
|
|
Wcomments
|
Wcomments
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Synonym for -Wcomment
|
Synonym for -Wcomment
|
|
|
Wconversion
|
Wconversion
|
C ObjC C++ ObjC++ Var(warn_conversion)
|
C ObjC C++ ObjC++ Var(warn_conversion)
|
Warn about possibly confusing type conversions
|
Warn about possibly confusing type conversions
|
|
|
Wctor-dtor-privacy
|
Wctor-dtor-privacy
|
C++ ObjC++ Var(warn_ctor_dtor_privacy)
|
C++ ObjC++ Var(warn_ctor_dtor_privacy)
|
Warn when all constructors and destructors are private
|
Warn when all constructors and destructors are private
|
|
|
Wdeclaration-after-statement
|
Wdeclaration-after-statement
|
C ObjC Var(warn_declaration_after_statement)
|
C ObjC Var(warn_declaration_after_statement)
|
Warn when a declaration is found after a statement
|
Warn when a declaration is found after a statement
|
|
|
Wdeprecated
|
Wdeprecated
|
C++ ObjC++ Var(warn_deprecated) Init(1)
|
C++ ObjC++ Var(warn_deprecated) Init(1)
|
Warn about deprecated compiler features
|
Warn about deprecated compiler features
|
|
|
Wdiv-by-zero
|
Wdiv-by-zero
|
C ObjC C++ ObjC++ Var(warn_div_by_zero) Init(1)
|
C ObjC C++ ObjC++ Var(warn_div_by_zero) Init(1)
|
Warn about compile-time integer division by zero
|
Warn about compile-time integer division by zero
|
|
|
Weffc++
|
Weffc++
|
C++ ObjC++ Var(warn_ecpp)
|
C++ ObjC++ Var(warn_ecpp)
|
Warn about violations of Effective C++ style rules
|
Warn about violations of Effective C++ style rules
|
|
|
Wendif-labels
|
Wendif-labels
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Warn about stray tokens after #elif and #endif
|
Warn about stray tokens after #elif and #endif
|
|
|
Werror
|
Werror
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
; Documented in common.opt
|
; Documented in common.opt
|
|
|
Werror-implicit-function-declaration
|
Werror-implicit-function-declaration
|
C ObjC RejectNegative
|
C ObjC RejectNegative
|
Make implicit function declarations an error
|
Make implicit function declarations an error
|
|
|
Wfloat-equal
|
Wfloat-equal
|
C ObjC C++ ObjC++ Var(warn_float_equal)
|
C ObjC C++ ObjC++ Var(warn_float_equal)
|
Warn if testing floating point numbers for equality
|
Warn if testing floating point numbers for equality
|
|
|
Wformat
|
Wformat
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Warn about printf/scanf/strftime/strfmon format string anomalies
|
Warn about printf/scanf/strftime/strfmon format string anomalies
|
|
|
Wformat-extra-args
|
Wformat-extra-args
|
C ObjC C++ ObjC++ Var(warn_format_extra_args)
|
C ObjC C++ ObjC++ Var(warn_format_extra_args)
|
Warn if passing too many arguments to a function for its format string
|
Warn if passing too many arguments to a function for its format string
|
|
|
Wformat-nonliteral
|
Wformat-nonliteral
|
C ObjC C++ ObjC++ Var(warn_format_nonliteral)
|
C ObjC C++ ObjC++ Var(warn_format_nonliteral)
|
Warn about format strings that are not literals
|
Warn about format strings that are not literals
|
|
|
Wformat-security
|
Wformat-security
|
C ObjC C++ ObjC++ Var(warn_format_security)
|
C ObjC C++ ObjC++ Var(warn_format_security)
|
Warn about possible security problems with format functions
|
Warn about possible security problems with format functions
|
|
|
Wformat-y2k
|
Wformat-y2k
|
C ObjC C++ ObjC++ Var(warn_format_y2k)
|
C ObjC C++ ObjC++ Var(warn_format_y2k)
|
Warn about strftime formats yielding 2-digit years
|
Warn about strftime formats yielding 2-digit years
|
|
|
Wformat-zero-length
|
Wformat-zero-length
|
C ObjC Var(warn_format_zero_length)
|
C ObjC Var(warn_format_zero_length)
|
Warn about zero-length formats
|
Warn about zero-length formats
|
|
|
Wformat=
|
Wformat=
|
C ObjC C++ ObjC++ Joined
|
C ObjC C++ ObjC++ Joined
|
|
|
Winit-self
|
Winit-self
|
C ObjC C++ ObjC++ Var(warn_init_self)
|
C ObjC C++ ObjC++ Var(warn_init_self)
|
Warn about variables which are initialized to themselves
|
Warn about variables which are initialized to themselves
|
|
|
Wimplicit
|
Wimplicit
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
|
|
Wimplicit-function-declaration
|
Wimplicit-function-declaration
|
C ObjC Var(mesg_implicit_function_declaration) Init(-1)
|
C ObjC Var(mesg_implicit_function_declaration) Init(-1)
|
Warn about implicit function declarations
|
Warn about implicit function declarations
|
|
|
Wimplicit-int
|
Wimplicit-int
|
C ObjC Var(warn_implicit_int)
|
C ObjC Var(warn_implicit_int)
|
Warn when a declaration does not specify a type
|
Warn when a declaration does not specify a type
|
|
|
Wimport
|
Wimport
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Deprecated. This switch has no effect
|
Deprecated. This switch has no effect
|
|
|
Wint-to-pointer-cast
|
Wint-to-pointer-cast
|
C ObjC Var(warn_int_to_pointer_cast) Init(1)
|
C ObjC Var(warn_int_to_pointer_cast) Init(1)
|
Warn when there is a cast to a pointer from an integer of a different size
|
Warn when there is a cast to a pointer from an integer of a different size
|
|
|
Winvalid-offsetof
|
Winvalid-offsetof
|
C++ ObjC++ Var(warn_invalid_offsetof) Init(1)
|
C++ ObjC++ Var(warn_invalid_offsetof) Init(1)
|
Warn about invalid uses of the \"offsetof\" macro
|
Warn about invalid uses of the \"offsetof\" macro
|
|
|
Winvalid-pch
|
Winvalid-pch
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Warn about PCH files that are found but not used
|
Warn about PCH files that are found but not used
|
|
|
Wlong-long
|
Wlong-long
|
C ObjC C++ ObjC++ Var(warn_long_long) Init(1)
|
C ObjC C++ ObjC++ Var(warn_long_long) Init(1)
|
Do not warn about using \"long long\" when -pedantic
|
Do not warn about using \"long long\" when -pedantic
|
|
|
Wmain
|
Wmain
|
C ObjC
|
C ObjC
|
Warn about suspicious declarations of \"main\"
|
Warn about suspicious declarations of \"main\"
|
|
|
Wmissing-braces
|
Wmissing-braces
|
C ObjC C++ ObjC++ Var(warn_missing_braces)
|
C ObjC C++ ObjC++ Var(warn_missing_braces)
|
Warn about possibly missing braces around initializers
|
Warn about possibly missing braces around initializers
|
|
|
Wmissing-declarations
|
Wmissing-declarations
|
C ObjC Var(warn_missing_declarations)
|
C ObjC Var(warn_missing_declarations)
|
Warn about global functions without previous declarations
|
Warn about global functions without previous declarations
|
|
|
Wmissing-field-initializers
|
Wmissing-field-initializers
|
C ObjC C++ ObjC++ Var(warn_missing_field_initializers) Init(-1)
|
C ObjC C++ ObjC++ Var(warn_missing_field_initializers) Init(-1)
|
Warn about missing fields in struct initializers
|
Warn about missing fields in struct initializers
|
|
|
Wmissing-format-attribute
|
Wmissing-format-attribute
|
C ObjC C++ ObjC++ Var(warn_missing_format_attribute)
|
C ObjC C++ ObjC++ Var(warn_missing_format_attribute)
|
Warn about functions which might be candidates for format attributes
|
Warn about functions which might be candidates for format attributes
|
|
|
Wmissing-include-dirs
|
Wmissing-include-dirs
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Warn about user-specified include directories that do not exist
|
Warn about user-specified include directories that do not exist
|
|
|
Wmissing-prototypes
|
Wmissing-prototypes
|
C ObjC Var(warn_missing_prototypes)
|
C ObjC Var(warn_missing_prototypes)
|
Warn about global functions without prototypes
|
Warn about global functions without prototypes
|
|
|
Wmultichar
|
Wmultichar
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Warn about use of multi-character character constants
|
Warn about use of multi-character character constants
|
|
|
Wnested-externs
|
Wnested-externs
|
C ObjC Var(warn_nested_externs)
|
C ObjC Var(warn_nested_externs)
|
Warn about \"extern\" declarations not at file scope
|
Warn about \"extern\" declarations not at file scope
|
|
|
Wnon-template-friend
|
Wnon-template-friend
|
C++ ObjC++ Var(warn_nontemplate_friend) Init(1)
|
C++ ObjC++ Var(warn_nontemplate_friend) Init(1)
|
Warn when non-templatized friend functions are declared within a template
|
Warn when non-templatized friend functions are declared within a template
|
|
|
Wnon-virtual-dtor
|
Wnon-virtual-dtor
|
C++ ObjC++ Var(warn_nonvdtor)
|
C++ ObjC++ Var(warn_nonvdtor)
|
Warn about non-virtual destructors
|
Warn about non-virtual destructors
|
|
|
Wnonnull
|
Wnonnull
|
C ObjC Var(warn_nonnull)
|
C ObjC Var(warn_nonnull)
|
Warn about NULL being passed to argument slots marked as requiring non-NULL
|
Warn about NULL being passed to argument slots marked as requiring non-NULL
|
|
|
Wnormalized=
|
Wnormalized=
|
C ObjC C++ ObjC++ Joined
|
C ObjC C++ ObjC++ Joined
|
-Wnormalized= Warn about non-normalised Unicode strings
|
-Wnormalized= Warn about non-normalised Unicode strings
|
|
|
Wold-style-cast
|
Wold-style-cast
|
C++ ObjC++ Var(warn_old_style_cast)
|
C++ ObjC++ Var(warn_old_style_cast)
|
Warn if a C-style cast is used in a program
|
Warn if a C-style cast is used in a program
|
|
|
Wold-style-definition
|
Wold-style-definition
|
C ObjC Var(warn_old_style_definition)
|
C ObjC Var(warn_old_style_definition)
|
Warn if an old-style parameter definition is used
|
Warn if an old-style parameter definition is used
|
|
|
Woverlength-strings
|
Woverlength-strings
|
C ObjC C++ ObjC++ Var(warn_overlength_strings) Init(-1)
|
C ObjC C++ ObjC++ Var(warn_overlength_strings) Init(-1)
|
Warn if a string is longer than the maximum portable length specified by the standard
|
Warn if a string is longer than the maximum portable length specified by the standard
|
|
|
Woverloaded-virtual
|
Woverloaded-virtual
|
C++ ObjC++ Var(warn_overloaded_virtual)
|
C++ ObjC++ Var(warn_overloaded_virtual)
|
Warn about overloaded virtual function names
|
Warn about overloaded virtual function names
|
|
|
Woverride-init
|
Woverride-init
|
C ObjC Var(warn_override_init) Init(-1)
|
C ObjC Var(warn_override_init) Init(-1)
|
Warn about overriding initializers without side effects
|
Warn about overriding initializers without side effects
|
|
|
Wparentheses
|
Wparentheses
|
C ObjC C++ ObjC++ Var(warn_parentheses)
|
C ObjC C++ ObjC++ Var(warn_parentheses)
|
Warn about possibly missing parentheses
|
Warn about possibly missing parentheses
|
|
|
Wpmf-conversions
|
Wpmf-conversions
|
C++ ObjC++ Var(warn_pmf2ptr) Init(1)
|
C++ ObjC++ Var(warn_pmf2ptr) Init(1)
|
Warn when converting the type of pointers to member functions
|
Warn when converting the type of pointers to member functions
|
|
|
Wpointer-arith
|
Wpointer-arith
|
C ObjC C++ ObjC++ Var(warn_pointer_arith)
|
C ObjC C++ ObjC++ Var(warn_pointer_arith)
|
Warn about function pointer arithmetic
|
Warn about function pointer arithmetic
|
|
|
Wpointer-to-int-cast
|
Wpointer-to-int-cast
|
C ObjC Var(warn_pointer_to_int_cast) Init(1)
|
C ObjC Var(warn_pointer_to_int_cast) Init(1)
|
Warn when a pointer is cast to an integer of a different size
|
Warn when a pointer is cast to an integer of a different size
|
|
|
Wpragmas
|
Wpragmas
|
C ObjC C++ ObjC++ Var(warn_pragmas) Init(1)
|
C ObjC C++ ObjC++ Var(warn_pragmas) Init(1)
|
Warn about misuses of pragmas
|
Warn about misuses of pragmas
|
|
|
Wprotocol
|
Wprotocol
|
ObjC ObjC++ Var(warn_protocol) Init(1)
|
ObjC ObjC++ Var(warn_protocol) Init(1)
|
Warn if inherited methods are unimplemented
|
Warn if inherited methods are unimplemented
|
|
|
Wredundant-decls
|
Wredundant-decls
|
C ObjC C++ ObjC++ Var(warn_redundant_decls)
|
C ObjC C++ ObjC++ Var(warn_redundant_decls)
|
Warn about multiple declarations of the same object
|
Warn about multiple declarations of the same object
|
|
|
Wreorder
|
Wreorder
|
C++ ObjC++ Var(warn_reorder)
|
C++ ObjC++ Var(warn_reorder)
|
Warn when the compiler reorders code
|
Warn when the compiler reorders code
|
|
|
Wreturn-type
|
Wreturn-type
|
C ObjC C++ ObjC++ Var(warn_return_type)
|
C ObjC C++ ObjC++ Var(warn_return_type)
|
Warn whenever a function's return type defaults to \"int\" (C), or about inconsistent return types (C++)
|
Warn whenever a function's return type defaults to \"int\" (C), or about inconsistent return types (C++)
|
|
|
Wselector
|
Wselector
|
ObjC ObjC++ Var(warn_selector)
|
ObjC ObjC++ Var(warn_selector)
|
Warn if a selector has multiple methods
|
Warn if a selector has multiple methods
|
|
|
Wsequence-point
|
Wsequence-point
|
C ObjC C++ ObjC++ Var(warn_sequence_point)
|
C ObjC C++ ObjC++ Var(warn_sequence_point)
|
Warn about possible violations of sequence point rules
|
Warn about possible violations of sequence point rules
|
|
|
Wsign-compare
|
Wsign-compare
|
C ObjC C++ ObjC++ Var(warn_sign_compare) Init(-1)
|
C ObjC C++ ObjC++ Var(warn_sign_compare) Init(-1)
|
Warn about signed-unsigned comparisons
|
Warn about signed-unsigned comparisons
|
|
|
Wsign-promo
|
Wsign-promo
|
C++ ObjC++ Var(warn_sign_promo)
|
C++ ObjC++ Var(warn_sign_promo)
|
Warn when overload promotes from unsigned to signed
|
Warn when overload promotes from unsigned to signed
|
|
|
Wstrict-null-sentinel
|
Wstrict-null-sentinel
|
C++ ObjC++
|
C++ ObjC++
|
Warn about uncasted NULL used as sentinel
|
Warn about uncasted NULL used as sentinel
|
|
|
Wstrict-prototypes
|
Wstrict-prototypes
|
C ObjC Var(warn_strict_prototypes)
|
C ObjC Var(warn_strict_prototypes)
|
Warn about unprototyped function declarations
|
Warn about unprototyped function declarations
|
|
|
Wstrict-selector-match
|
Wstrict-selector-match
|
ObjC ObjC++ Var(warn_strict_selector_match)
|
ObjC ObjC++ Var(warn_strict_selector_match)
|
Warn if type signatures of candidate methods do not match exactly
|
Warn if type signatures of candidate methods do not match exactly
|
|
|
Wsynth
|
Wsynth
|
C++ ObjC++ Var(warn_synth)
|
C++ ObjC++ Var(warn_synth)
|
Warn when synthesis behavior differs from Cfront
|
Warn when synthesis behavior differs from Cfront
|
|
|
Wsystem-headers
|
Wsystem-headers
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Do not suppress warnings from system headers
|
Do not suppress warnings from system headers
|
|
|
Wtraditional
|
Wtraditional
|
C ObjC Var(warn_traditional)
|
C ObjC Var(warn_traditional)
|
Warn about features not present in traditional C
|
Warn about features not present in traditional C
|
|
|
Wtrigraphs
|
Wtrigraphs
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Warn if trigraphs are encountered that might affect the meaning of the program
|
Warn if trigraphs are encountered that might affect the meaning of the program
|
|
|
Wundeclared-selector
|
Wundeclared-selector
|
ObjC ObjC++ Var(warn_undeclared_selector)
|
ObjC ObjC++ Var(warn_undeclared_selector)
|
Warn about @selector()s without previously declared methods
|
Warn about @selector()s without previously declared methods
|
|
|
Wundef
|
Wundef
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Warn if an undefined macro is used in an #if directive
|
Warn if an undefined macro is used in an #if directive
|
|
|
Wunknown-pragmas
|
Wunknown-pragmas
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Warn about unrecognized pragmas
|
Warn about unrecognized pragmas
|
|
|
Wunused-macros
|
Wunused-macros
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Warn about macros defined in the main file that are not used
|
Warn about macros defined in the main file that are not used
|
|
|
Wvariadic-macros
|
Wvariadic-macros
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Do not warn about using variadic macros when -pedantic
|
Do not warn about using variadic macros when -pedantic
|
|
|
Wwrite-strings
|
Wwrite-strings
|
C ObjC C++ ObjC++ Var(warn_write_strings)
|
C ObjC C++ ObjC++ Var(warn_write_strings)
|
In C++, nonzero means warn about deprecated conversion from string literals to `char *'. In C, similar warning, except that the conversion is of course not deprecated by the ISO C standard.
|
In C++, nonzero means warn about deprecated conversion from string literals to `char *'. In C, similar warning, except that the conversion is of course not deprecated by the ISO C standard.
|
|
|
Wpointer-sign
|
Wpointer-sign
|
C ObjC Var(warn_pointer_sign) Init(-1)
|
C ObjC Var(warn_pointer_sign) Init(-1)
|
Warn when a pointer differs in signedness in an assignment
|
Warn when a pointer differs in signedness in an assignment
|
|
|
ansi
|
ansi
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
A synonym for -std=c89 (for C) or -std=c++98 (for C++)
|
A synonym for -std=c89 (for C) or -std=c++98 (for C++)
|
|
|
d
|
d
|
C ObjC C++ ObjC++ Joined
|
C ObjC C++ ObjC++ Joined
|
; Documented in common.opt. FIXME - what about -dI, -dD, -dN and -dD?
|
; Documented in common.opt. FIXME - what about -dI, -dD, -dN and -dD?
|
|
|
faccess-control
|
faccess-control
|
C++ ObjC++
|
C++ ObjC++
|
Enforce class member access control semantics
|
Enforce class member access control semantics
|
|
|
fall-virtual
|
fall-virtual
|
C++ ObjC++
|
C++ ObjC++
|
|
|
falt-external-templates
|
falt-external-templates
|
C++ ObjC++
|
C++ ObjC++
|
Change when template instances are emitted
|
Change when template instances are emitted
|
|
|
fasm
|
fasm
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Recognize the \"asm\" keyword
|
Recognize the \"asm\" keyword
|
|
|
fbuiltin
|
fbuiltin
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Recognize built-in functions
|
Recognize built-in functions
|
|
|
fbuiltin-
|
fbuiltin-
|
C ObjC C++ ObjC++ Joined
|
C ObjC C++ ObjC++ Joined
|
|
|
fcheck-new
|
fcheck-new
|
C++ ObjC++
|
C++ ObjC++
|
Check the return value of new
|
Check the return value of new
|
|
|
fcond-mismatch
|
fcond-mismatch
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Allow the arguments of the '?' operator to have different types
|
Allow the arguments of the '?' operator to have different types
|
|
|
fconserve-space
|
fconserve-space
|
C++ ObjC++
|
C++ ObjC++
|
Reduce the size of object files
|
Reduce the size of object files
|
|
|
fconstant-string-class=
|
fconstant-string-class=
|
ObjC ObjC++ Joined
|
ObjC ObjC++ Joined
|
-fconst-string-class= Use class for constant strings
|
-fconst-string-class= Use class for constant strings
|
|
|
fdefault-inline
|
fdefault-inline
|
C++ ObjC++
|
C++ ObjC++
|
Inline member functions by default
|
Inline member functions by default
|
|
|
fdollars-in-identifiers
|
fdollars-in-identifiers
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Permit '$' as an identifier character
|
Permit '$' as an identifier character
|
|
|
felide-constructors
|
felide-constructors
|
C++ ObjC++
|
C++ ObjC++
|
|
|
fenforce-eh-specs
|
fenforce-eh-specs
|
C++ ObjC++
|
C++ ObjC++
|
Generate code to check exception specifications
|
Generate code to check exception specifications
|
|
|
fenum-int-equiv
|
fenum-int-equiv
|
C++ ObjC++
|
C++ ObjC++
|
|
|
fexec-charset=
|
fexec-charset=
|
C ObjC C++ ObjC++ Joined RejectNegative
|
C ObjC C++ ObjC++ Joined RejectNegative
|
-fexec-charset= Convert all strings and character constants to character set
|
-fexec-charset= Convert all strings and character constants to character set
|
|
|
fextended-identifiers
|
fextended-identifiers
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Permit universal character names (\\u and \\U) in identifiers
|
Permit universal character names (\\u and \\U) in identifiers
|
|
|
finput-charset=
|
finput-charset=
|
C ObjC C++ ObjC++ Joined RejectNegative
|
C ObjC C++ ObjC++ Joined RejectNegative
|
-finput-charset= Specify the default character set for source files
|
-finput-charset= Specify the default character set for source files
|
|
|
|
|
fexternal-templates
|
fexternal-templates
|
C++ ObjC++
|
C++ ObjC++
|
|
|
ffor-scope
|
ffor-scope
|
C++ ObjC++
|
C++ ObjC++
|
Scope of for-init-statement variables is local to the loop
|
Scope of for-init-statement variables is local to the loop
|
|
|
ffreestanding
|
ffreestanding
|
C ObjC
|
C ObjC
|
Do not assume that standard C libraries and \"main\" exist
|
Do not assume that standard C libraries and \"main\" exist
|
|
|
fgnu-keywords
|
fgnu-keywords
|
C++ ObjC++
|
C++ ObjC++
|
Recognize GNU-defined keywords
|
Recognize GNU-defined keywords
|
|
|
fgnu-runtime
|
fgnu-runtime
|
ObjC ObjC++
|
ObjC ObjC++
|
Generate code for GNU runtime environment
|
Generate code for GNU runtime environment
|
|
|
fgnu89-inline
|
fgnu89-inline
|
C ObjC Var(flag_gnu89_inline) Init(-1)
|
C ObjC Var(flag_gnu89_inline) Init(-1)
|
Use traditional GNU semantics for inline functions
|
Use traditional GNU semantics for inline functions
|
|
|
fguiding-decls
|
fguiding-decls
|
C++ ObjC++
|
C++ ObjC++
|
|
|
fhandle-exceptions
|
fhandle-exceptions
|
C++ ObjC++
|
C++ ObjC++
|
|
|
fhonor-std
|
fhonor-std
|
C++ ObjC++
|
C++ ObjC++
|
|
|
fhosted
|
fhosted
|
C ObjC
|
C ObjC
|
Assume normal C execution environment
|
Assume normal C execution environment
|
|
|
fhuge-objects
|
fhuge-objects
|
C++ ObjC++
|
C++ ObjC++
|
Enable support for huge objects
|
Enable support for huge objects
|
|
|
fimplement-inlines
|
fimplement-inlines
|
C++ ObjC++
|
C++ ObjC++
|
Export functions even if they can be inlined
|
Export functions even if they can be inlined
|
|
|
fimplicit-inline-templates
|
fimplicit-inline-templates
|
C++ ObjC++
|
C++ ObjC++
|
Emit implicit instantiations of inline templates
|
Emit implicit instantiations of inline templates
|
|
|
fimplicit-templates
|
fimplicit-templates
|
C++ ObjC++
|
C++ ObjC++
|
Emit implicit instantiations of templates
|
Emit implicit instantiations of templates
|
|
|
ffriend-injection
|
ffriend-injection
|
C++ ObjC++ Var(flag_friend_injection)
|
C++ ObjC++ Var(flag_friend_injection)
|
Inject friend functions into enclosing namespace
|
Inject friend functions into enclosing namespace
|
|
|
flabels-ok
|
flabels-ok
|
C++ ObjC++
|
C++ ObjC++
|
|
|
fms-extensions
|
fms-extensions
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Don't warn about uses of Microsoft extensions
|
Don't warn about uses of Microsoft extensions
|
|
|
fname-mangling-version-
|
fname-mangling-version-
|
C++ ObjC++ Joined
|
C++ ObjC++ Joined
|
|
|
fnew-abi
|
fnew-abi
|
C++ ObjC++
|
C++ ObjC++
|
|
|
fnext-runtime
|
fnext-runtime
|
ObjC ObjC++
|
ObjC ObjC++
|
Generate code for NeXT (Apple Mac OS X) runtime environment
|
Generate code for NeXT (Apple Mac OS X) runtime environment
|
|
|
fnil-receivers
|
fnil-receivers
|
ObjC ObjC++
|
ObjC ObjC++
|
Assume that receivers of Objective-C messages may be nil
|
Assume that receivers of Objective-C messages may be nil
|
|
|
fnonansi-builtins
|
fnonansi-builtins
|
C++ ObjC++
|
C++ ObjC++
|
|
|
fnonnull-objects
|
fnonnull-objects
|
C++ ObjC++
|
C++ ObjC++
|
|
|
; Generate special '- .cxx_construct' and '- .cxx_destruct' methods
|
; Generate special '- .cxx_construct' and '- .cxx_destruct' methods
|
; to initialize any non-POD ivars in Objective-C++ classes.
|
; to initialize any non-POD ivars in Objective-C++ classes.
|
fobjc-call-cxx-cdtors
|
fobjc-call-cxx-cdtors
|
ObjC++ Var(flag_objc_call_cxx_cdtors)
|
ObjC++ Var(flag_objc_call_cxx_cdtors)
|
Generate special Objective-C methods to initialize/destroy non-POD C++ ivars, if needed
|
Generate special Objective-C methods to initialize/destroy non-POD C++ ivars, if needed
|
|
|
fobjc-direct-dispatch
|
fobjc-direct-dispatch
|
ObjC ObjC++ Var(flag_objc_direct_dispatch)
|
ObjC ObjC++ Var(flag_objc_direct_dispatch)
|
Allow fast jumps to the message dispatcher
|
Allow fast jumps to the message dispatcher
|
|
|
; Nonzero means that we will allow new ObjC exception syntax (@throw,
|
; Nonzero means that we will allow new ObjC exception syntax (@throw,
|
; @try, etc.) in source code.
|
; @try, etc.) in source code.
|
fobjc-exceptions
|
fobjc-exceptions
|
ObjC ObjC++ Var(flag_objc_exceptions)
|
ObjC ObjC++ Var(flag_objc_exceptions)
|
Enable Objective-C exception and synchronization syntax
|
Enable Objective-C exception and synchronization syntax
|
|
|
fobjc-gc
|
fobjc-gc
|
ObjC ObjC++ Var(flag_objc_gc)
|
ObjC ObjC++ Var(flag_objc_gc)
|
Enable garbage collection (GC) in Objective-C/Objective-C++ programs
|
Enable garbage collection (GC) in Objective-C/Objective-C++ programs
|
|
|
; Nonzero means that we generate NeXT setjmp based exceptions.
|
; Nonzero means that we generate NeXT setjmp based exceptions.
|
fobjc-sjlj-exceptions
|
fobjc-sjlj-exceptions
|
ObjC ObjC++ Var(flag_objc_sjlj_exceptions) Init(-1)
|
ObjC ObjC++ Var(flag_objc_sjlj_exceptions) Init(-1)
|
Enable Objective-C setjmp exception handling runtime
|
Enable Objective-C setjmp exception handling runtime
|
|
|
fopenmp
|
fopenmp
|
C ObjC C++ ObjC++ Var(flag_openmp)
|
C ObjC C++ ObjC++ Var(flag_openmp)
|
Enable OpenMP
|
Enable OpenMP
|
|
|
foperator-names
|
foperator-names
|
C++ ObjC++
|
C++ ObjC++
|
Recognize C++ kewords like \"compl\" and \"xor\"
|
Recognize C++ kewords like \"compl\" and \"xor\"
|
|
|
foptional-diags
|
foptional-diags
|
C++ ObjC++
|
C++ ObjC++
|
Enable optional diagnostics
|
Enable optional diagnostics
|
|
|
fpch-deps
|
fpch-deps
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
|
|
fpch-preprocess
|
fpch-preprocess
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Look for and use PCH files even when preprocessing
|
Look for and use PCH files even when preprocessing
|
|
|
fpermissive
|
fpermissive
|
C++ ObjC++
|
C++ ObjC++
|
Downgrade conformance errors to warnings
|
Downgrade conformance errors to warnings
|
|
|
fpreprocessed
|
fpreprocessed
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Treat the input file as already preprocessed
|
Treat the input file as already preprocessed
|
|
|
freplace-objc-classes
|
freplace-objc-classes
|
ObjC ObjC++
|
ObjC ObjC++
|
Used in Fix-and-Continue mode to indicate that object files may be swapped in at runtime
|
Used in Fix-and-Continue mode to indicate that object files may be swapped in at runtime
|
|
|
frepo
|
frepo
|
C++ ObjC++
|
C++ ObjC++
|
Enable automatic template instantiation
|
Enable automatic template instantiation
|
|
|
frtti
|
frtti
|
C++ ObjC++
|
C++ ObjC++
|
Generate run time type descriptor information
|
Generate run time type descriptor information
|
|
|
fshort-double
|
fshort-double
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Use the same size for double as for float
|
Use the same size for double as for float
|
|
|
fshort-enums
|
fshort-enums
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Use the narrowest integer type possible for enumeration types
|
Use the narrowest integer type possible for enumeration types
|
|
|
fshort-wchar
|
fshort-wchar
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Force the underlying type for \"wchar_t\" to be \"unsigned short\"
|
Force the underlying type for \"wchar_t\" to be \"unsigned short\"
|
|
|
fsigned-bitfields
|
fsigned-bitfields
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
When \"signed\" or \"unsigned\" is not given make the bitfield signed
|
When \"signed\" or \"unsigned\" is not given make the bitfield signed
|
|
|
fsigned-char
|
fsigned-char
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Make \"char\" signed by default
|
Make \"char\" signed by default
|
|
|
fsquangle
|
fsquangle
|
C++ ObjC++
|
C++ ObjC++
|
|
|
fstats
|
fstats
|
C++ ObjC++
|
C++ ObjC++
|
Display statistics accumulated during compilation
|
Display statistics accumulated during compilation
|
|
|
fstrict-prototype
|
fstrict-prototype
|
C++ ObjC++
|
C++ ObjC++
|
|
|
ftabstop=
|
ftabstop=
|
C ObjC C++ ObjC++ Joined RejectNegative UInteger
|
C ObjC C++ ObjC++ Joined RejectNegative UInteger
|
-ftabstop= Distance between tab stops for column reporting
|
-ftabstop= Distance between tab stops for column reporting
|
|
|
ftemplate-depth-
|
ftemplate-depth-
|
C++ ObjC++ Joined RejectNegative UInteger
|
C++ ObjC++ Joined RejectNegative UInteger
|
-ftemplate-depth- Specify maximum template instantiation depth
|
-ftemplate-depth- Specify maximum template instantiation depth
|
|
|
fthis-is-variable
|
fthis-is-variable
|
C++ ObjC++
|
C++ ObjC++
|
|
|
fthreadsafe-statics
|
fthreadsafe-statics
|
C++ ObjC++
|
C++ ObjC++
|
-fno-threadsafe-statics Do not generate thread-safe code for initializing local statics
|
-fno-threadsafe-statics Do not generate thread-safe code for initializing local statics
|
|
|
funsigned-bitfields
|
funsigned-bitfields
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
When \"signed\" or \"unsigned\" is not given make the bitfield unsigned
|
When \"signed\" or \"unsigned\" is not given make the bitfield unsigned
|
|
|
funsigned-char
|
funsigned-char
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Make \"char\" unsigned by default
|
Make \"char\" unsigned by default
|
|
|
fuse-cxa-atexit
|
fuse-cxa-atexit
|
C++ ObjC++
|
C++ ObjC++
|
Use __cxa_atexit to register destructors
|
Use __cxa_atexit to register destructors
|
|
|
fuse-cxa-get-exception-ptr
|
fuse-cxa-get-exception-ptr
|
C++ ObjC++
|
C++ ObjC++
|
Use __cxa_get_exception_ptr in exception handling
|
Use __cxa_get_exception_ptr in exception handling
|
|
|
fvisibility-inlines-hidden
|
fvisibility-inlines-hidden
|
C++ ObjC++
|
C++ ObjC++
|
Marks all inlined methods as having hidden visibility
|
Marks all inlined methods as having hidden visibility
|
|
|
fvtable-gc
|
fvtable-gc
|
C++ ObjC++
|
C++ ObjC++
|
Discard unused virtual functions
|
Discard unused virtual functions
|
|
|
fvtable-thunks
|
fvtable-thunks
|
C++ ObjC++
|
C++ ObjC++
|
Implement vtables using thunks
|
Implement vtables using thunks
|
|
|
fweak
|
fweak
|
C++ ObjC++
|
C++ ObjC++
|
Emit common-like symbols as weak symbols
|
Emit common-like symbols as weak symbols
|
|
|
fwide-exec-charset=
|
fwide-exec-charset=
|
C ObjC C++ ObjC++ Joined RejectNegative
|
C ObjC C++ ObjC++ Joined RejectNegative
|
-fwide-exec-charset= Convert all wide strings and character constants to character set
|
-fwide-exec-charset= Convert all wide strings and character constants to character set
|
|
|
fworking-directory
|
fworking-directory
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Generate a #line directive pointing at the current working directory
|
Generate a #line directive pointing at the current working directory
|
|
|
fxref
|
fxref
|
C++ ObjC++
|
C++ ObjC++
|
Emit cross referencing information
|
Emit cross referencing information
|
|
|
fzero-link
|
fzero-link
|
ObjC ObjC++
|
ObjC ObjC++
|
Generate lazy class lookup (via objc_getClass()) for use in Zero-Link mode
|
Generate lazy class lookup (via objc_getClass()) for use in Zero-Link mode
|
|
|
gen-decls
|
gen-decls
|
ObjC ObjC++
|
ObjC ObjC++
|
Dump declarations to a .decl file
|
Dump declarations to a .decl file
|
|
|
idirafter
|
idirafter
|
C ObjC C++ ObjC++ Joined Separate
|
C ObjC C++ ObjC++ Joined Separate
|
-idirafter Add to the end of the system include path
|
-idirafter Add to the end of the system include path
|
|
|
imacros
|
imacros
|
C ObjC C++ ObjC++ Joined Separate
|
C ObjC C++ ObjC++ Joined Separate
|
-imacros Accept definition of macros in
|
-imacros Accept definition of macros in
|
|
|
imultilib
|
imultilib
|
C ObjC C++ ObjC++ Joined Separate
|
C ObjC C++ ObjC++ Joined Separate
|
-imultilib Set to be the multilib include subdirectory
|
-imultilib Set to be the multilib include subdirectory
|
|
|
include
|
include
|
C ObjC C++ ObjC++ Joined Separate
|
C ObjC C++ ObjC++ Joined Separate
|
-include Include the contents of before other files
|
-include Include the contents of before other files
|
|
|
iprefix
|
iprefix
|
C ObjC C++ ObjC++ Joined Separate
|
C ObjC C++ ObjC++ Joined Separate
|
-iprefix Specify as a prefix for next two options
|
-iprefix Specify as a prefix for next two options
|
|
|
isysroot
|
isysroot
|
C ObjC C++ ObjC++ Joined Separate
|
C ObjC C++ ObjC++ Joined Separate
|
-isysroot Set to be the system root directory
|
-isysroot Set to be the system root directory
|
|
|
isystem
|
isystem
|
C ObjC C++ ObjC++ Joined Separate
|
C ObjC C++ ObjC++ Joined Separate
|
-isystem Add to the start of the system include path
|
-isystem Add to the start of the system include path
|
|
|
iquote
|
iquote
|
C ObjC C++ ObjC++ Joined Separate
|
C ObjC C++ ObjC++ Joined Separate
|
-iquote Add to the end of the quote include path
|
-iquote Add to the end of the quote include path
|
|
|
iwithprefix
|
iwithprefix
|
C ObjC C++ ObjC++ Joined Separate
|
C ObjC C++ ObjC++ Joined Separate
|
-iwithprefix Add to the end of the system include path
|
-iwithprefix Add to the end of the system include path
|
|
|
iwithprefixbefore
|
iwithprefixbefore
|
C ObjC C++ ObjC++ Joined Separate
|
C ObjC C++ ObjC++ Joined Separate
|
-iwithprefixbefore Add to the end of the main include path
|
-iwithprefixbefore Add to the end of the main include path
|
|
|
lang-asm
|
lang-asm
|
C Undocumented
|
C Undocumented
|
|
|
lang-fortran
|
lang-fortran
|
C Undocumented
|
C Undocumented
|
|
|
lang-objc
|
lang-objc
|
C ObjC C++ ObjC++ Undocumented
|
C ObjC C++ ObjC++ Undocumented
|
|
|
nostdinc
|
nostdinc
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Do not search standard system include directories (those specified with -isystem will still be used)
|
Do not search standard system include directories (those specified with -isystem will still be used)
|
|
|
nostdinc++
|
nostdinc++
|
C++ ObjC++
|
C++ ObjC++
|
Do not search standard system include directories for C++
|
Do not search standard system include directories for C++
|
|
|
o
|
o
|
C ObjC C++ ObjC++ Joined Separate
|
C ObjC C++ ObjC++ Joined Separate
|
; Documented in common.opt
|
; Documented in common.opt
|
|
|
pedantic
|
pedantic
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
; Documented in common.opt
|
; Documented in common.opt
|
|
|
pedantic-errors
|
pedantic-errors
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
; Documented in common.opt
|
; Documented in common.opt
|
|
|
print-objc-runtime-info
|
print-objc-runtime-info
|
ObjC ObjC++
|
ObjC ObjC++
|
Generate C header of platform-specific features
|
Generate C header of platform-specific features
|
|
|
print-pch-checksum
|
print-pch-checksum
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Print a checksum of the executable for PCH validity checking, and stop
|
Print a checksum of the executable for PCH validity checking, and stop
|
|
|
remap
|
remap
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Remap file names when including files
|
Remap file names when including files
|
|
|
std=c++98
|
std=c++98
|
C++ ObjC++
|
C++ ObjC++
|
Conform to the ISO 1998 C++ standard
|
Conform to the ISO 1998 C++ standard
|
|
|
std=c89
|
std=c89
|
C ObjC
|
C ObjC
|
Conform to the ISO 1990 C standard
|
Conform to the ISO 1990 C standard
|
|
|
std=c99
|
std=c99
|
C ObjC
|
C ObjC
|
Conform to the ISO 1999 C standard
|
Conform to the ISO 1999 C standard
|
|
|
std=c9x
|
std=c9x
|
C ObjC
|
C ObjC
|
Deprecated in favor of -std=c99
|
Deprecated in favor of -std=c99
|
|
|
std=gnu++98
|
std=gnu++98
|
C++ ObjC++
|
C++ ObjC++
|
Conform to the ISO 1998 C++ standard with GNU extensions
|
Conform to the ISO 1998 C++ standard with GNU extensions
|
|
|
std=gnu89
|
std=gnu89
|
C ObjC
|
C ObjC
|
Conform to the ISO 1990 C standard with GNU extensions
|
Conform to the ISO 1990 C standard with GNU extensions
|
|
|
std=gnu99
|
std=gnu99
|
C ObjC
|
C ObjC
|
Conform to the ISO 1999 C standard with GNU extensions
|
Conform to the ISO 1999 C standard with GNU extensions
|
|
|
std=gnu9x
|
std=gnu9x
|
C ObjC
|
C ObjC
|
Deprecated in favor of -std=gnu99
|
Deprecated in favor of -std=gnu99
|
|
|
std=iso9899:1990
|
std=iso9899:1990
|
C ObjC
|
C ObjC
|
Conform to the ISO 1990 C standard
|
Conform to the ISO 1990 C standard
|
|
|
std=iso9899:199409
|
std=iso9899:199409
|
C ObjC
|
C ObjC
|
Conform to the ISO 1990 C standard as amended in 1994
|
Conform to the ISO 1990 C standard as amended in 1994
|
|
|
std=iso9899:1999
|
std=iso9899:1999
|
C ObjC
|
C ObjC
|
Conform to the ISO 1999 C standard
|
Conform to the ISO 1999 C standard
|
|
|
std=iso9899:199x
|
std=iso9899:199x
|
C ObjC
|
C ObjC
|
Deprecated in favor of -std=iso9899:1999
|
Deprecated in favor of -std=iso9899:1999
|
|
|
traditional-cpp
|
traditional-cpp
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Enable traditional preprocessing
|
Enable traditional preprocessing
|
|
|
trigraphs
|
trigraphs
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
-trigraphs Support ISO C trigraphs
|
-trigraphs Support ISO C trigraphs
|
|
|
undef
|
undef
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Do not predefine system-specific and GCC-specific macros
|
Do not predefine system-specific and GCC-specific macros
|
|
|
v
|
v
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
Enable verbose output
|
Enable verbose output
|
|
|
w
|
w
|
C ObjC C++ ObjC++
|
C ObjC C++ ObjC++
|
; Documented in common.opt
|
; Documented in common.opt
|
|
|
; This comment is to ensure we retain the blank line above.
|
; This comment is to ensure we retain the blank line above.
|
|
|