Redigera

Dela via


Compiler Warning (level 1) C4325

attributes for standard section 'section' ignored

Remarks

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.

See also

section