<div dir="ltr">It&#39;s a swig problem. It&#39;s just reporting &quot;Syntax error&quot; on that line. No more specific details than that. gcc cleanly compiles the line, as does MSVC, and clang. And cmake 2.0.12. Seems to be a swig 3.0 regression.<div>
<br></div><div>--Greg</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 17, 2014 at 1:02 AM, Jaak Ristioja <span dir="ltr">&lt;<a href="mailto:jaak@ristioja.ee" target="_blank">jaak@ristioja.ee</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
What is the error?<br>
<div><div class="h5"><br>
On 16.05.2014 07:19, Greg Hellings wrote:<br>
&gt; What&#39;s wrong with this line that would cause gcc 4.9.0 to complain<br>
&gt; where previously it did not?<br>
&gt;<br>
&gt; inline SWBuf &amp;operator &gt;&gt;(unsigned long n) { setSize(length()+n);<br>
&gt; memmove(buf+n, buf, length()-n); return *this; }<br>
&gt;<br>
&gt; Line 362 in swbuf.h<br>
&gt;<br>
&gt; --Greg<br>
&gt;<br>
&gt;<br>
</div></div><div class="">&gt; _______________________________________________ sword-devel mailing<br>
&gt; list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
&gt; <a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a> Instructions<br>
&gt; to unsubscribe/change your settings at above page<br>
&gt;<br>
<br>
</div>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.22 (GNU/Linux)<br>
<br>
iQgcBAEBAgAGBQJTdvtaAAoJELozJlbjIn79okk//jUGsLMHt4Q+Qb1JbmUiht00<br>
ntChsziBuDc+n3DNjx5Z4fQlZiea/XTT0m/zkn9J29POhGynsgOhcCTHasTnbzER<br>
A2bWrn1Pnt1Ln4MB7Y+pj6CdBdyOiGDLAzgQStt7BcGx2YCgvtI68bT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4utHHvn2csz<br>
HsO7QzCYMlwZ3lx5aCEN3/T8b7Q52zVl3OLnztPJQ1wk8Vh5hMnqyj9WsEQcHkY+<br>
SMCgpfHH8yEjLdOjSFlwTA+Q8nfUncmMP1GXD+TUsvp4tZDYvqzJOcr7MhClQ81X<br>
f5P7i/LM0lAg5bybtpvGyDuX9+134YyXfaFQTGs73Illcec8s7vtiYBFm/NRd7Xf<br>
4ppHV6ePMdNyXSFUZ1FEHdK29gpGsKFU1lz2ZVaiMSGmjYXsyE1Msjm6JyX+PZHL<br>
SvrD/QW/EldaeVjXPbHIQQ2V/Phy/e7BJ/0BnReep+pdP9UgqIwDsrpQpjcTLTVr<br>
kdSlbMokKapLQmQZhg/XxcKUrM34M1VekAQGbtXIumSfS/F0bhy2/gbXGK5ZmDGK<br>
Vp1aCtJ0EnXuzzRlZAuUQDgMtx15OXntnhQDQNiy88+wrN3FFaVyV/uMRuc97SYM<br>
Mkf/B2eb/N5hycz46o4gA1iMQZtJNbx1lPpAF5m8WBniEdrJ5Uw7aEEehEB9SOhM<br>
9qu3f0ZJ7vwN0f6MbERx<br>
=HyfJ<br>
-----END PGP SIGNATURE-----<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br>
</div></div></blockquote></div><br></div>