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"
but got to the same place (i.e. errors) as before.
Curiosity got the better of me and I'm working on updating your
specfile to
something more current with the guidelines.
Thanks very much for any advice! As I said, I would like this to got into the Fedora
repos. So this would be very helpful.
Best wishes,
Ranjan
--
Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt.
Please respond to the mailing list if appropriate. For those needing to send personal or
professional e-mail, please use appropriate addresses.