Compiler Warning (level 1) C4325
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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.

See Also

pragma section

© 2015 Microsoft