This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1/2] PR 78736: New warning -Wenum-conversion


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]