<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toburau</author_name>
  <author_url>https://blog.hatena.ne.jp/toburau/</author_url>
  <blog_title>ゲームが作れるようになるまでがんばる日記</blog_title>
  <blog_url>https://toburau.hatenablog.jp/</blog_url>
  <categories>
    <anon>雑記</anon>
  </categories>
  <description>デバッグビルドでは動作するのにリリースビルドでは正しく動かない原因が分かった。 2つのプロジェクトからアプリケーションを生成しており、1つはライブラリ的なプロジェクトで、もう1つがアプリケーションの本体。一部の機能を切り替えるためにプリプロセッサ命令のdefineを使ってソースの内容を切り替えている。このプリプロセッサ定義がリリースビルドでは正しく定義されていなかったのがバグの原因。 同じヘッダファイルを参照していても、defineが異なるためにクラスのメンバ変数が変わり、インスタンスのメモリ内容も変わってしまう。その変化してしまった場所にアクセスしてエラーとなってしまっていた。 プリプロセッ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoburau.hatenablog.jp%2Fentry%2F20110727%2F1311774131&quot; title=&quot;原因判明 - ゲームが作れるようになるまでがんばる日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-07-27 22:42:11</published>
  <title>原因判明</title>
  <type>rich</type>
  <url>https://toburau.hatenablog.jp/entry/20110727/1311774131</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
