On Tue, Sep 25, 2018 at 9:47 PM Ranjan Maitra <mai...@email.com> wrote:

> On Tue, 25 Sep 2018 07:52:46 -0500 Richard Shaw <hobbes1...@gmail.com>
> wrote:
>
> > On Mon, Sep 24, 2018 at 10:07 PM Ranjan Maitra <mai...@email.com> wrote:
> >
> > > Hi,
> > >
> > > I have not done this for a while, and I was trying to build a small rpm
> > > using a previously written .spec file which I had created some time
> ago and
> > > which compiled without incident till F27.
> >
> >
> > Over time gcc gets more pedantic about syntax and warnings turn to errors
> > and I believer "-Werror" turns all warnings to errors. You could remove
> > that flag or I think adding "-Wno-error=parentheses" might work.
>
> Thanks! How do I remove this flag? Or add the no-error flag, for that
> matter? I tried:
>
> make %{?_smp_mflags} "-Wno-error=parentheses"
>

No it needs to be set at or before the configure step. I used the
environment variable method (CXXFLAGS). Take a look at the spec file in the
SRPM I linked in my other email.

I didn't check thoroughly but I believe the SRPM I made is mostly Fedora
guidelines compliant. I would still need to understand the purpose of the
extra desktop file and why one it installed to /etc/wbar.d.

Thanks,
Richard
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to