VC 2005错误“'''版本''''''''''''''''''''''''''''''''''''''''''''''''''''

时间:2013-04-20 08:43:22

标签: c++ visual-studio-2005

我收到一个错误,我找不到问题,有人可以帮我解释什么是错的?仍然试图评论问题或搜索只是找不到任何线索它只是与这个错误:

 1>Compiling...
1>option.cpp
1>Linking...
1>fatal error C1900: Il mismatch between 'P1' version '20060201' and 'P2' version '20050411'
1>LINK : fatal error LNK1257: code generation failed
1>Build log was saved at "file://c:\Users\modestas\Desktop\ybtx\code\game\gas\GameGas\Release\BuildLog.htm"
1>GameGas - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 12 up-to-date, 0 skipped ==========

没有代码,因为无法理解发生这种情况的地方。

1 个答案:

答案 0 :(得分:2)

这意味着,您在类中定义了InitVariantContainer声明,但是您没有实现它的正文:

void CCypherVariantHolderForDecode::InitVariantContainer(void)
{
  // ...
}