Visual C++ Concepts: Building a C/C++ Program   Compiler Warning (level 3) C4645
function declared with __declspec(noreturn) has a return statementA return statement was found in a function that is ed with the noreturn __declspec modifier. The return statement was ignored.The following sample generates C4645:// C4645.cpp
// compile with:  /W3
void __declspec(noreturn) func() {
   return;   // C4645, delete this line to resolve
}int main() {
}

解决方案 »

  1.   

    I'm sorry,it's this:
    Compiler Warning (level 1) C4651
    [This topic is part of a beta release and is subject to change in future releases. Blank topics are included as placeholders.]'definition' specified for precompiled header but not for current compile
    The definition was specified when the precompiled header was generated, but not in this compilation.The definition will be in effect inside the precompiled header, but not in the rest of the code.