This documentation is archived and is not being maintained.

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.