Compiler Warning (level 1) C4711
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) C4711

Error Message

function 'function' selected for inline expansion

The compiler performed inlining on the given function, although it was not marked for inlining.

C4711 is enabled if /Ob2 is specified.

Inlining is performed at the compiler's discretion. This warning is informational.

This warning is off by default. To enable a warning, use #pragma warning. See Compiler Warnings That Are Off by Default for more information.

© 2015 Microsoft