<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>itog</author_name>
  <author_url>https://blog.hatena.ne.jp/itog/</author_url>
  <blog_title>Hacking My Way 〜 itogのhack日記</blog_title>
  <blog_url>https://itog.hatenadiary.org/</blog_url>
  <categories>
    <anon>C/C++</anon>
  </categories>
  <description>ソースコードのファイル名と行数を変える命令。 #line 100 &quot;hoge.cpp&quot; #error ここは何行目？ とでビルドすると、以下のようなエラーメッセージが出ます。 hoge.cpp:100:2: #error ここは何行目？となります。あんまり使う機会はなさそうですが、編集したファイルとビルド時のファイルで行数が違う場合、例えばビルドサーバにアップする際にコメントを削除する、なんて場合に使えますね。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fitog.hatenadiary.org%2Fentry%2F20090312%2F1236851139&quot; title=&quot; #line ディレクティブ - Hacking My Way 〜 itogのhack日記&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>2009-03-12 18:45:39</published>
  <title> #line ディレクティブ</title>
  <type>rich</type>
  <url>https://itog.hatenadiary.org/entry/20090312/1236851139</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
