Tells the compiler to place in the DATA section any uninitialized variables and explicitly zero-initialized variables. This option is deprecated and will be removed in a future release.
Linux: | -no-bss-init |
macOS: | -no-bss-init |
Windows: | /Qnobss-init |
None
OFF |
Uninitialized variables and explicitly zero-initialized variables are placed in the BSS section. |
This option tells the compiler to place in the DATA section any uninitialized variables and explicitly zero-initialized variables.
Visual Studio: None
Eclipse: Data > Disable Placement of Zero-initialized and Uninitialized Variables in .bss - place in .data instead
Xcode: Data > Allocate Zero-initialized Variables to .data
None