no-bss-init, Qnobss-init

Tells the compiler to place in the DATA section any variables explicitly initialized with zeros.

IDE Equivalent

Windows: None

Linux: Data > Disable Placement of Zero-initialized Variables in .bss - use .data

Mac OS: Data > Allocate Zero-initialized Variables to .data

Architectures

IA-32 architecture, Intel® 64 architecture, IA-64 architecture

Syntax

Linux and Mac OS: -no-bss-init
Windows:  /Qnobss-init

Arguments

None

Default

OFF Variables explicitly initialized with zeros are placed in the BSS section.

Description

This option tells the compiler to place in the DATA section any variables explicitly initialized with zeros.

Alternate Options

Linux and Mac OS: -nobss-init (this is a deprecated option)
Windows: None