title: Compilation error when including boost/program_options.hpp
body: <p>This program compiles just fine:</p>
  
  <pre><code>#include &lt;iostream&gt;
  
  #include &lt;stdio.h&gt;
  
  #include &lt;boost/program_options.hpp&gt;
  
  int main(int argc, char* argv[]) {
      std::cout &lt;&lt; "Hello world" &lt;&lt; std::endl;
  }
  </code></pre>
  
  <p>This program gives a long compilation error:</p>
  
  <pre><code>#include &lt;iostream&gt;
  
  namespace cio {
  #include &lt;stdio.h&gt;
  }
  
  #include &lt;boost/program_options.hpp&gt;
  
  int main(int argc, char* argv[]) {
      std::cout &lt;&lt; "Hello world" &lt;&lt; std::endl;
  }
  </code></pre>
  
  <p>The full dump of the compilation error: <a href="http://codepad.org/aIcQqkgH" rel="nofollow">http://codepad.org/aIcQqkgH</a></p>
  
  <p>The linux command I'm using to compile the program is: c++ -o main.cpp.o -c main.cpp</p>