You copied the Doc URL to your clipboard.


This option alters the default settings of certain other options to match the default behavior found in GCC. Platform-specific settings, such as those targeting ARM Linux, are unaffected.


--gnu_defaults does not imply specific targeting of ARM Linux.

When you use --gnu_defaults, the following options are enabled:

  • --allow_null_this

  • --gnu

  • --no_debug_macros

  • --no_hide_all

  • --no_implicit_include

  • --signed_bitfields

  • --wchar32.

--gnu does not set these defaults. It only enables the GNU compiler extensions.


When you use --arm_linux and other ARM Linux-targeting options, --gnu_defaults is automatically implied.