2.1.49. --[no_]extended_initializers

This option enables the use of extended constant initializers even when compiling with --strict or --strict_warnings.

When certain non-portable but widely supported constant initializers such as the cast of an address to an integral type are used, --extended_initializers causes the compiler to produce the same general warning concerning constant initializers that it normally produces in non-strict mode, rather than specific errors stating that the expression must have a constant value or have arithmetic type.


The default is --no_extended_initializers when compiling with --strict or --strict_warnings.

The default is --extended_initializers when compiling in non-strict mode.

See also

Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A