<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>n7shi</author_name>
  <author_url>https://blog.hatena.ne.jp/n7shi/</author_url>
  <blog_title>七誌の開発日記</blog_title>
  <blog_url>https://7shi.hateblo.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>第6回 コンパイラ実装会で出た話題です。以下のコードがエラーになります。なぜ？ test.cpp #include &lt;stdlib.h&gt; int main(void) { void *p = malloc(100); *(void **)&amp;p[10] = reinterpret_cast&lt;void *&gt;(free); return 0; } コンパイル結果 $ g++ test.cpp test.cpp: In function 'int main()': test.cpp:5:20: warning: pointer of type 'void *' used in arithmetic […</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F7shi.hateblo.jp%2Fentry%2F2012%2F06%2F11%2F003034&quot; title=&quot;void*とオフセット - 七誌の開発日記&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>2012-06-11 00:30:34</published>
  <title>void*とオフセット</title>
  <type>rich</type>
  <url>https://7shi.hateblo.jp/entry/2012/06/11/003034</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
