Linker Tools Error LNK1223

 

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 Linker Tools Error LNK1223.

invalid or corrupt file: file contains invalid .pdata contributions

For RISC platforms that use pdata, this error will occur if the compiler emitted a .pdata section with unsorted entries.

To fix this issue, try compiling without /GL (Whole Program Optimization) enabled. Empty function bodies can also cause this error in some cases.

Show: