On Tue, Sep 25, 2018 at 9:47 PM Ranjan Maitra <maitra(a)email.com> wrote:
On Tue, 25 Sep 2018 07:52:46 -0500 Richard Shaw
<hobbes1069(a)gmail.com>
wrote:
> On Mon, Sep 24, 2018 at 10:07 PM Ranjan Maitra <maitra(a)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