Compiler Warning (level 1) C4325

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Warning (level 1) C4325.

attributes for standard section '**
section ' ignored

You may not change the attributes of a standard section. For example:

#pragma section(".sdata", long)  

This would overwrite the .sdata standard section which uses the short data type with the long data type.

Standard sections whose attributes you may not change include,

  • .data

  • .sdata

  • .bss

  • .sbss

  • .text

  • .const

  • .sconst

  • .rdata

  • .srdata

Additional sections may be added later.

section

Show: