[sword-devel] make error

Daniel Hughes trampster at gmail.com
Mon Jul 4 15:18:53 MST 2016


gcc --version gives
gcc (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010

On Tue, Jul 5, 2016 at 10:14 AM, Greg Hellings <greg.hellings at gmail.com> wrote:
> 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
>
>
> _______________________________________________
> 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



More information about the sword-devel mailing list