<p dir="ltr">This is a new line that Troy just committed over the weekend. It is targeting GCC 6. What version of which compiler are you using? Perhaps that pragma needs to be guarded for GCC 6 specifically.</p>
<p dir="ltr">--Greg </p>
<div class="gmail_quote">On Jul 4, 2016 5:11 PM, &quot;Daniel Hughes&quot; &lt;<a href="mailto:trampster@gmail.com">trampster@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I&#39;m trying to build sword from svn by running the following commands:<br>
make distclean<br>
./autogen.sh<br>
./usrinst.sh<br>
make<br>
sudo make install<br>
<br>
but am getting the following error running make:<br>
<br>
../include/swobject.h:31:32: error: unknown option after &#39;#pragma GCC<br>
diagnostic&#39; kind [-Werror=pragmas]<br>
 #pragma GCC diagnostic warning &quot;-Wnonnull-compare&quot;<br>
<br>
What am I doing wrong?<br>
<br>
God bless,<br>
Daniel Hughes<br>
<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" rel="noreferrer" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br>
</blockquote></div>