title: How to cast from bool to void*?
body: <p>I'm trying to build cairomm for gtkmm on windows using mingw. Compilation breaks at a function call which has a parameter which does a reinterpret_cast of a bool to a void*.</p>
  
  <pre><code>cairo_font_face_set_user_data(cobj(), &amp;USER_DATA_KEY_DEFAULT_TEXT_TO_GLYPHS, reinterpret_cast&lt;void*&gt;(true), NULL);
  </code></pre>
  
  <p>This is where the code breaks, and reason is "invalid reinterpret_cast from bool to void*". Why is this happening, and how can I modify this line to get it to compile? Need help</p>