{"id":224371,"date":"2014-05-28T09:39:03","date_gmt":"2014-05-28T05:39:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=224371"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=224371","title":{"rendered":"<span class=\"post_title\">CppCat \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u044f\u0435\u0442 OpenMW: \u0432\u043e \u0432\u0441\u0435\u043b\u0435\u043d\u043d\u043e\u0439 Morrowind \u043d\u0435 \u0432\u0441\u0451 \u0433\u043b\u0430\u0434\u043a\u043e<\/span>"},"content":{"rendered":"<div class=\"content html_format\">\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/480\/70b\/886\/48070b886433b7f93b11c64cbe74c3d8.png\" alt=\"CppCat \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u044f\u0435\u0442 OpenMW\" \/><\/div>\n<p>  \u042f \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b \u043f\u0440\u043e\u0435\u043a\u0442 OpenMW \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e CppCat \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u044d\u0442\u0443 \u043a\u0440\u043e\u0448\u0435\u0447\u043d\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e. \u041d\u0430\u0448\u043b\u043e\u0441\u044c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u0430\u043b\u043e \u043e\u0448\u0438\u0431\u043e\u043a. \u041d\u043e \u043c\u0435\u043d\u044f \u043f\u0440\u043e\u0441\u0438\u043b\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e \u044d\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044e, \u0438 \u0432\u043e\u0442 \u043e\u043d\u0430.<br \/>  <a name=\"habracut\"><\/a>   <\/p>\n<h2>OpenMW<\/h2>\n<p>  OpenMW \u2014 \u044d\u0442\u043e \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u0432\u043e\u0441\u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0443\u044e RPG Morrowind, \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0432\u0441\u0435\u0445 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0435\u0439 \u0438\u0433\u0440\u044b \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c. \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 OpenMW \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0434\u0438\u0441\u043a Morrowind.<\/p>\n<p>  \u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443: <a href=\"https:\/\/code.google.com\/p\/openmw\/\">https:\/\/code.google.com\/p\/openmw\/<\/a><\/p>\n<h2>CppCat<\/h2>\n<p>  CppCat \u2014 \u043c\u043b\u0430\u0434\u0448\u0438\u0439 \u0431\u0440\u0430\u0442 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440 PVS-Studio. \u041e\u0431 \u043e\u0442\u043b\u0438\u0447\u0438\u044f\u0445: &quot;<a href=\"http:\/\/www.viva64.com\/ru\/b\/0258\/\">\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u0432 \u043a\u043e\u0434\u0430 PVS-Studio \u0438 CppCat<\/a>&quot;.<\/p>\n<h2>\u041d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u0434\u043e\u0437\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043c\u0435\u0441\u0442\u0430<\/h2>\n<p>  <b>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N1<\/b>   <\/p>\n<pre><code class=\"cpp\">std::string getUtf8(unsigned char c,   ToUTF8::Utf8Encoder&amp; encoder, ToUTF8::FromType encoding) {   ....   conv[0xa2] = 0xf3;   conv[0xa3] = 0xbf;   conv[0xa4] = 0x0;   conv[0xe1] = 0x8c;   conv[0xe1] = 0x8c;   &lt;&lt;&lt;&lt;====   conv[0xe3] = 0x0;   .... }<\/code><\/pre>\n<p>  \u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 CppCat: V519 The &#8216;conv[0xe1]&#8217; variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 103, 104. openmw fontloader.cpp 104<\/p>\n<p>  \u041d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u044d\u0442\u043e \u043e\u043f\u0435\u0447\u0430\u0442\u043a\u0430. \u0412 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435, \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438\u043d\u0434\u0435\u043a\u0441 0xe2.<\/p>\n<p>  <b>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N2<\/b>   <\/p>\n<pre><code class=\"cpp\">enum Flags {   ....   NoDuration = 0x4,   .... }  bool CastSpell::cast (const ESM::Ingredient* ingredient) {   ....   if (!magicEffect-&gt;mData.mFlags &amp; ESM::MagicEffect::NoDuration)   .... }<\/code><\/pre>\n<p>  \u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 CppCat: V564 The &#8216;&amp;&#8217; operator is applied to bool type value. You&#8217;ve probably forgotten to include parentheses or intended to use the &#8216;&amp;&amp;&#8217; operator. openmw spellcasting.cpp 717<\/p>\n<p>  \u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u0432\u044f\u0437\u0430\u043d\u0430 \u0441 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u043e\u043c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439. \u0412 \u043d\u0430\u0447\u0430\u043b\u0435, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 (!magicEffect-&gt;mData.mFlags). \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: 0 \u0438\u043b\u0438 1. \u0417\u0430\u0442\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435: 0 &amp; 4 \u0438\u043b\u0438 1 &amp; 4. \u042d\u0442\u043e \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u043e\u0433\u043e \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0441\u043c\u044b\u0441\u043b\u0430. \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u043a\u043e\u0434 \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:  <\/p>\n<pre><code class=\"cpp\">if ( ! (magicEffect-&gt;mData.mFlags &amp; ESM::MagicEffect::NoDuration) )<\/code><\/pre>\n<p>  <b>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N3<\/b>   <\/p>\n<pre><code class=\"cpp\">void Clothing::blank() {   mData.mType = 0;   mData.mWeight = 0;   mData.mValue = 0;   mData.mEnchant = 0;   mParts.mParts.clear();   mName.clear();   mModel.clear();   mIcon.clear();   mIcon.clear();   mEnchant.clear();   mScript.clear(); }<\/code><\/pre>\n<p>  \u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 CppCat: V586 The &#8216;clear&#8217; function is called twice for deallocation of the same resource. Check lines: 48, 49. components loadclot.cpp 49<\/p>\n<p>  \u0414\u0432\u0430 \u0440\u0430\u0437\u0430 \u043e\u0447\u0438\u0449\u0430\u0435\u0442\u0441\u044f \u043e\u0431\u044a\u0435\u043a\u0442 &#8216;mIcon&#8217;. \u0412\u0442\u043e\u0440\u0430\u044f \u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u043b\u0438\u0448\u043d\u044f\u044f \u0438\u043b\u0438 \u043d\u0430\u0434\u043e \u0431\u044b\u043b\u043e \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0435\u0449\u0451.<\/p>\n<p>  <b>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N4<\/b>   <\/p>\n<pre><code class=\"cpp\">void Storage::loadDataFromStream(   ContainerType&amp; container, std::istream&amp; stream) {   std::string line;   while (!stream.eof())   {     std::getline( stream, line );     ....   }   .... }<\/code><\/pre>\n<p>  \u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 CppCat: V663 Infinite loop is possible. The &#8216;cin.eof()&#8217; condition is insufficient to break from the loop. Consider adding the &#8216;cin.fail()&#8217; function call to the conditional expression. components translation.cpp 45<\/p>\n<p>  \u041f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043a\u043b\u0430\u0441\u0441\u043e\u043c &#8216;std::istream&#8217; \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0432\u044b\u0437\u043e\u0432\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 &#8216;eof()&#8217; \u0434\u043b\u044f \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0446\u0438\u043a\u043b\u0430. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u043e\u0432\u0435\u043d\u0438\u044f \u0441\u0431\u043e\u044f \u043f\u0440\u0438 \u0447\u0442\u0435\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445, \u0432\u044b\u0437\u043e\u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 &#8216;eof()&#8217; \u0431\u0443\u0434\u0435\u0442 \u0432\u0441\u0435\u0433\u0434\u0430 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 &#8216;false&#8217;. \u0414\u043b\u044f \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0446\u0438\u043a\u043b\u0430 \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u043e\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439 &#8216;fail()&#8217;.<\/p>\n<p>  <b>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N5<\/b>  <\/p>\n<pre><code class=\"cpp\">class Factory {   ....   bool getReadSourceCache() { return mReadSourceCache; }   bool getWriteSourceCache() { return mReadSourceCache; }   ....   bool mReadSourceCache;   bool mWriteSourceCache;   .... };<\/code><\/pre>\n<p>  \u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 CppCat: V524 It is odd that the body of &#8216;getWriteSourceCache&#8217; function is fully equivalent to the body of &#8216;getReadSourceCache&#8217; function. components factory.hpp 209<\/p>\n<p>  \u041c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0444\u0443\u043d\u043a\u0446\u0438\u044f getWriteSourceCache() \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0442\u0430\u043a\u043e\u0439:  <\/p>\n<pre><code class=\"cpp\">bool getWriteSourceCache() { return mWriteSourceCache; }<\/code><\/pre>\n<p>  <b>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N6, N7, N8<\/b>  <\/p>\n<pre><code class=\"cpp\">std::string rangeTypeLabel(int idx) {   const char* rangeTypeLabels [] = {     &quot;Self&quot;,     &quot;Touch&quot;,     &quot;Target&quot;   };   if (idx &gt;= 0 &amp;&amp; idx &lt;= 3)     return rangeTypeLabels[idx];   else     return &quot;Invalid&quot;; }<\/code><\/pre>\n<p>  \u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 CppCat: V557 Array overrun is possible. The value of &#8216;idx&#8217; index could reach 3. esmtool labels.cpp 502<\/p>\n<p>  \u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0430\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0438\u043d\u0434\u0435\u043a\u0441\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0430. \u0415\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f &#8216;idx&#8217; \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0432\u043d\u0430 3, \u0442\u043e \u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0434\u0443\u0442 \u0432\u044b\u0445\u043e\u0434 \u0437\u0430 \u0433\u0440\u0430\u043d\u0438\u0446\u0443 \u043c\u0430\u0441\u0441\u0438\u0432\u0430.<\/p>\n<p>  \u041f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e:  <\/p>\n<pre><code class=\"cpp\">if (idx &gt;= 0 &amp;&amp; idx &lt; 3)<\/code><\/pre>\n<p>  \u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u0430\u044f \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u043b\u0438\u0441\u044c \u0435\u0449\u0451 \u0432 \u0434\u0432\u0443\u0445 \u043c\u0435\u0441\u0442\u0430\u0445:<\/p>\n<ul>\n<li>V557 Array overrun is possible. The value of &#8216;idx&#8217; index could reach 143. esmtool labels.cpp 391<\/li>\n<li>V557 Array overrun is possible. The value of &#8216;idx&#8217; index could reach 27. esmtool labels.cpp 475<\/li>\n<\/ul>\n<p>  <b>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N9<\/b>  <\/p>\n<pre><code class=\"cpp\">enum UpperBodyCharacterState {   UpperCharState_Nothing,   UpperCharState_EquipingWeap,   UpperCharState_UnEquipingWeap,   .... };  bool CharacterController::updateWeaponState() {   ....   if((weaptype != WeapType_None ||       UpperCharState_UnEquipingWeap) &amp;&amp; animPlaying)   .... }<\/code><\/pre>\n<p>  \u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 CppCat: V560 A part of conditional expression is always true: UpperCharState_UnEquipingWeap. openmw character.cpp 949<\/p>\n<p>  \u042d\u0442\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u0434\u043e\u0437\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435. \u0421\u0435\u0439\u0447\u0430\u0441 \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u0442\u044c \u0434\u043e: \u00abif (animPlaying)\u00bb. \u042f\u0432\u043d\u043e \u0447\u0442\u043e-\u0442\u043e \u043d\u0435 \u0442\u0430\u043a.<\/p>\n<p>  <b>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N10, N11<\/b>   <\/p>\n<pre><code class=\"cpp\">void World::clear() {   mLocalScripts.clear();   mPlayer-&gt;clear();   ....   if (mPlayer)   .... }<\/code><\/pre>\n<p>  \u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 CppCat: V595 The &#8216;mPlayer&#8217; pointer was utilized before it was verified against nullptr. Check lines: 234, 245. openmw worldimp.cpp 234<\/p>\n<p>  \u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e: V595 The &#8216;mBody&#8217; pointer was utilized before it was verified against nullptr. Check lines: 95, 99. openmw physic.cpp 95<\/p>\n<p>  <b>\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 N12<\/b>   <\/p>\n<pre><code class=\"cpp\">void ExprParser::replaceBinaryOperands() {   ....   if (t1==t2)     mOperands.push_back (t1);   else if (t1=='f' || t2=='f')     mOperands.push_back ('f');   else     std::logic_error (&quot;failed to determine result operand type&quot;); }<\/code><\/pre>\n<p>  \u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 CppCat: V596 The object was created but it is not being used. The &#8216;throw&#8217; keyword could be missing: throw logic_error(FOO); components exprparser.cpp 101<\/p>\n<p>  \u0417\u0430\u0431\u044b\u043b\u0438 \u043a\u043b\u044e\u0447\u0435\u0432\u043e\u0435 \u0441\u043b\u043e\u0432\u043e &#8216;throw&#8217;. \u041a\u043e\u0434 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0442\u0430\u043a\u0438\u043c:  <\/p>\n<pre><code class=\"cpp\">throw std::logic_error (&quot;failed to determine result operand type&quot;);<\/code><\/pre>\n<p>  <\/p>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>  \u041f\u0440\u0438\u043e\u0431\u0440\u0435\u0442\u0438\u0442\u0435 \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0421\u0438++ \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0443 \u0432 \u0432\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 \u043f\u043e CppCat, \u0438 \u0432\u044b \u0441\u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442\u0435 \u043c\u0430\u0441\u0441\u0443 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0447\u0430\u0442\u043e\u043a \u0438 \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u0435\u0439\u0448\u0438\u0445 \u043e\u0448\u0438\u0431\u043e\u043a.<\/p>\n<p>  \u041f\u0440\u0438 \u043f\u043e\u043a\u0443\u043f\u043a\u0435 <a href=\"http:\/\/www.cppcat.com\">CppCat<\/a> \u0434\u043b\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441\u043a\u0438\u0434\u043a\u0438.<\/p>\n<h2>\u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c<\/h2>\n<p>  \u0415\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435\u0439 \u0441 \u0430\u043d\u0433\u043b\u043e\u044f\u0437\u044b\u0447\u043d\u043e\u0439 \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u0435\u0439, \u0442\u043e \u043f\u0440\u043e\u0448\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043f\u0435\u0440\u0435\u0432\u043e\u0434: Andrey Karpov. <a href=\"http:\/\/www.viva64.com\/en\/b\/0259\/\">CppCat Checks OpenMW: Not All is Fine in the Morrowind Universe<\/a>.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u043b\u0438 \u0441\u0442\u0430\u0442\u044c\u044e \u0438 \u0435\u0441\u0442\u044c \u0432\u043e\u043f\u0440\u043e\u0441?<\/b><\/p>\n<div class=\"spoiler_text\">\u0427\u0430\u0441\u0442\u043e \u043a \u043d\u0430\u0448\u0438\u043c \u0441\u0442\u0430\u0442\u044c\u044f\u043c \u0437\u0430\u0434\u0430\u044e\u0442 \u043e\u0434\u043d\u0438 \u0438 \u0442\u0435 \u0436\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b. \u041e\u0442\u0432\u0435\u0442\u044b \u043d\u0430 \u043d\u0438\u0445 \u043c\u044b \u0441\u043e\u0431\u0440\u0430\u043b\u0438 \u0437\u0434\u0435\u0441\u044c: <a href=\"http:\/\/www.viva64.com\/ru\/a\/0085\/\">\u041e\u0442\u0432\u0435\u0442\u044b \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u0435\u0439 \u0441\u0442\u0430\u0442\u0435\u0439 \u043f\u0440\u043e PVS-Studio \u0438 CppCat, \u0432\u0435\u0440\u0441\u0438\u044f 2014<\/a>. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u044c\u0442\u0435\u0441\u044c \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c.  <\/div>\n<\/div>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/company\/pvs-studio\/blog\/224371\/\"> http:\/\/habrahabr.ru\/company\/pvs-studio\/blog\/224371\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/480\/70b\/886\/48070b886433b7f93b11c64cbe74c3d8.png\" alt=\"CppCat \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u044f\u0435\u0442 OpenMW\" \/><\/div>\n<p>  \u042f \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b \u043f\u0440\u043e\u0435\u043a\u0442 OpenMW \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e CppCat \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u044d\u0442\u0443 \u043a\u0440\u043e\u0448\u0435\u0447\u043d\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e. \u041d\u0430\u0448\u043b\u043e\u0441\u044c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u0430\u043b\u043e \u043e\u0448\u0438\u0431\u043e\u043a. \u041d\u043e \u043c\u0435\u043d\u044f \u043f\u0440\u043e\u0441\u0438\u043b\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e \u044d\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044e, \u0438 \u0432\u043e\u0442 \u043e\u043d\u0430.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-224371","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/224371","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=224371"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/224371\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=224371"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=224371"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=224371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}