title: cannot convert const wchar_t* to const char*
body: <p>ALL,</p>
  
  <p>Can someone explain to me why this code:</p>
  
  <pre><code>std::wstring query1 = L"SELECT....";
  res = mysql_query( m_db, m_pimpl-&gt;m_myconv.from_bytes( query1.c_str() ).c_str() );
  </code></pre>
  
  <p>gives me an error from the subject?</p>
  
  <p>I do have <code>-DUNICODE</code> defined inside C++ options</p>
  
  <p>I guess I just need a pair of fresh eyes.</p>
  
  <p>Thank you.</p>
  
  <p>It is on Gentoo Linux with gcc5.4.</p>