[sword-devel] make error

Greg Hellings greg.hellings at gmail.com
Mon Jul 4 15:14:02 MST 2016


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.

--Greg
On Jul 4, 2016 5:11 PM, "Daniel Hughes" <trampster at gmail.com> wrote:

> Hi,
>
> I'm trying to build sword from svn by running the following commands:
> make distclean
> ./autogen.sh
> ./usrinst.sh
> make
> sudo make install
>
> but am getting the following error running make:
>
> ../include/swobject.h:31:32: error: unknown option after '#pragma GCC
> diagnostic' kind [-Werror=pragmas]
>  #pragma GCC diagnostic warning "-Wnonnull-compare"
>
> What am I doing wrong?
>
> God bless,
> Daniel Hughes
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20160704/4ed77c1f/attachment.html>


More information about the sword-devel mailing list