Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
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.

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.

Community Additions

ADD
Show:
© 2015 Microsoft