Compiler Warning (level 1) C4612

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Warning (level 1) C4612.

error in include filename

This warning occurs with #pragma include_alias when a filename is incorrect or missing.

The arguments to the #pragma include_alias statement can use the quote from ("filename") or angle-bracket form (<filename>), but both must use the same form.

// C4612.cpp  
// compile with: /W1 /LD  
#pragma include_alias("StandardIO", <stdio.h>) // C4612  

Show: