public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Joseph Myers <joseph@codesourcery.com>
To: Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Cc: Martin Sebor <msebor@gmail.com>,
	gcc Patches <gcc-patches@gcc.gnu.org>,
	Marek Polacek <polacek@redhat.com>
Subject: Re: [1/2] PR 78736: New warning -Wenum-conversion
Date: Mon, 12 Jun 2017 20:17:00 -0000	[thread overview]
Message-ID: <alpine.DEB.2.20.1706122015520.17570@digraph.polyomino.org.uk> (raw)
In-Reply-To: <CAAgBjMncv6PaEYZ2-vtp1d7HYo-W_wyV1jxoEqwoB+qiZEQjZQ@mail.gmail.com>

This is OK with one fix:

> +C ObjC Var(warn_enum_conversion) Init(0) Warning LangEnabledBy(C Objc,Wall)

I believe the LangEnabledBy arguments are case-sensitive, so you need to 
have ObjC not Objc there for it to work correctly.  (*.opt parsing isn't 
very good at detecting typos and giving errors rather than silently 
ignoring things.)

-- 
Joseph S. Myers
joseph@codesourcery.com

  parent reply	other threads:[~2017-06-12 20:17 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-02 17:13 Prathamesh Kulkarni
2017-05-02 22:10 ` Martin Sebor
2017-05-03  6:10   ` Prathamesh Kulkarni
2017-05-09 13:25     ` Prathamesh Kulkarni
2017-05-09 18:44       ` Martin Sebor
2017-05-09 21:19         ` Pedro Alves
2017-05-10 13:15         ` Prathamesh Kulkarni
2017-05-10 15:18           ` Martin Sebor
2017-06-12 20:17           ` Joseph Myers [this message]
2017-07-11 12:29             ` Prathamesh Kulkarni
2017-07-12 15:33               ` Sandra Loosemore
2017-07-31 18:40               ` Prathamesh Kulkarni
2017-08-08  4:21                 ` Prathamesh Kulkarni
2017-08-17 12:53                   ` Prathamesh Kulkarni
2017-08-26 19:27               ` Joseph Myers
2017-09-01  2:37                 ` Prathamesh Kulkarni
2017-09-01 11:55                   ` Joseph Myers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.20.1706122015520.17570@digraph.polyomino.org.uk \
    --to=joseph@codesourcery.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=msebor@gmail.com \
    --cc=polacek@redhat.com \
    --cc=prathamesh.kulkarni@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).