title: Boost::asio  -- UnregisterWaitEx' has not been declared
body: <p>I'm trying to build a program that will be able to read and write to a Serial Port.
  At the moment I am using a wrapper class that works with boost::asio. 
  ( <a href="http://gitorious.org/serial-port" rel="nofollow">http://gitorious.org/serial-port</a> )  </p>
  
  <p>I'm getting a bunch of errors from win_object_handle_service.ipp (from boost asio)<br>
  The error Message i get is at <a href="http://pastebin.com/MtcC61cb" rel="nofollow">http://pastebin.com/MtcC61cb</a>
  <br><br></p>
  
  <p>Additionally, in the AsyncSerial.hpp file from the SerialPort Library
  I get an error on line 103:</p>
  
  <pre><code>thread t(boost::bind(&amp;asio::io_service::run, &amp;pimpl-&gt;io))
  </code></pre>
  
  <p>There is nothing in the compilers error log, but eclipse reports that:</p>
  
  <ol>
  <li>boost::bind is ambiguous</li>
  <li>invalid overload of 'asio::io_service::run'</li>
  </ol>
  
  <p>I'm not sure if the above are valid errors, or if its just eclipse's indexer being stupid</p>
  
  <p><br><br></p>
  
  <p>My Question is:<br>
  Can anyone help to figure out why I am getting this error message, and how I can get my program to compile?</p>
  
  <p>I'm also welcome to suggestions for a different Serial library.  However I would need it to be cross platform.</p>
  
  <p>I'm running windows 7 x64 compiling with MinGW 4.7.1 (32 bit).</p>