MSVC: Add noreturn attribute to aiAssert and ValidateDSProcess::ReportError. This reduces warnings in VS2010's static code analysis tool. Thanks to Chris Maiwald for the patch.

Correct include order in assimp_view.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@539 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2010-02-05 22:32:19 +00:00
parent ea3cdcd843
commit 1fd3cfd311
7 changed files with 39 additions and 38 deletions

View File

@@ -10,7 +10,7 @@
// Set a breakpoint using win32, else line, file and message will be returned and progam ends with
// errrocode = 1
void Assimp::aiAssert (const std::string &message, unsigned int uiLine, const std::string &file)
AI_WONT_RETURN void Assimp::aiAssert (const std::string &message, unsigned int uiLine, const std::string &file)
{
// moved expression testing out of the function and into the macro to avoid constructing
// two std::string on every single ai_assert test