Looks like you found a bug!<div><br></div><div>I suspect its because most other platforms (including VS2010 - which I tested it under) have the stdint.h header, which is implicitly included by #include &lt;boost/cstdint.h&gt;, which I&#39;m apparently using incorrectly.</div>
<div><br></div><div>An (untested) workaround I would try for the moment if you don&#39;t want to change the SimpleAmqpClient code itself would be to download the msinttypes�<a href="http://code.google.com/p/msinttypes/">http://code.google.com/p/msinttypes/</a>�and include it before you include any other SimpleAmqpClient headers</div>
<div><br></div><div>-Alan</div><div><br></div><div>P.S. I&#39;ve filed a bug here:�<a href="https://github.com/alanxz/SimpleAmqpClient/issues/1">https://github.com/alanxz/SimpleAmqpClient/issues/1</a></div><div><div><br><div>
<br><div class="gmail_quote">On Mon, Mar 5, 2012 at 9:52 AM, Eric J. Holtman <span dir="ltr">&lt;<a href="mailto:eric@holtmans.com">eric@holtmans.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 3/5/2012 8:24 AM, Eric J. Holtman wrote:<br>
&gt; sigh.<br>
&gt;<br>
&gt; I can get cmake to run. � It generates the solution files<br>
&gt; and project files for VS 2008 just fine.<br>
&gt;<br>
&gt; They won&#39;t compile.<br>
&gt;<br>
&gt; errors are all like this:<br>
&gt;<br>
&gt; 1&gt;MessageReturnedException.cpp<br>
&gt; 1&gt;c:\dev\simpleamqpclient\src\SimpleAmqpClient/BasicMessage.h(195) :<br>
&gt; error C2146: syntax error : missing &#39;;&#39; before identifier &#39;Priority&#39;<br>
&gt;<br>
&gt; the problem is that none of the typedefs for uint8_t, uint16_t etc<br>
&gt; seem to have been included.<br>
&gt;<br>
<br>
<br>
</div>The error seems to ne (taking AmqpException.h for example)<br>
that the headers are including<br>
<br>
#include &lt;boost/cstdint.hpp&gt;<br>
<br>
but then the code has declarations like:<br>
<br>
 �explicit AmqpException(const std::string&amp; reply_text, uint16_t<br>
class_id, uint16_t method_id) throw();<br>
<br>
the boost/cstdint.hpp puts uint16_t in the boost:: namesspace,<br>
NOT in std::<br>
<br>
if I change the above line to<br>
<br>
 �explicit AmqpException(const std::string&amp; reply_text, boost::uint16_t<br>
class_id, boost::uint16_t method_id) throw();<br>
<br>
it compiles.<br>
<br>
I&#39;m not really willing to put a &quot;using namespace boost&quot; at the top<br>
of the headers.<br>
<br>
Am I missing something obvious here?<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</div></div></blockquote></div><br></div></div></div>