<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shammer</author_name>
  <author_url>https://blog.hatena.ne.jp/shammer/</author_url>
  <blog_title>Shammer's Philosophy</blog_title>
  <blog_url>https://shammerism.hatenadiary.com/</blog_url>
  <categories>
    <anon>C</anon>
  </categories>
  <description>gcc の -e というオプションを使うと、プリプロセッサがどのようにソースコードを変更したのかを確認することができる。例えば、以下のような sub.c というソースを int func1(){ return 0; } main.c が include しているとする。 #include &quot;sub.c&quot; int main(void){ func1(); return 0; } この main.c がコンパイル前にどのようになるかと言うと、 $ gcc -E main.c # 1 &quot;main.c&quot; # 1 &quot;&lt;command-line&gt;&quot; # 1 &quot;main.c&quot; # 1 &quot;sub.c&quot; 1 i…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshammerism.hatenadiary.com%2Fentry%2F20120518%2Fp1&quot; title=&quot;include の動きを確認してみる - Shammer&amp;#39;s Philosophy&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-05-18 00:00:00</published>
  <title>include の動きを確認してみる</title>
  <type>rich</type>
  <url>https://shammerism.hatenadiary.com/entry/20120518/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
