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" <tramps...@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@crosswire.org > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page >
_______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page