This is the mail archive of the gcc-bugs@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]

[Bug c++/67613] New: spell suggestions for misspelled command line options


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67613

            Bug ID: 67613
           Summary: spell suggestions for misspelled command line options
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: enhancement
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: manu at gcc dot gnu.org
                CC: dmalcolm at gcc dot gnu.org
        Depends on: 52277
  Target Milestone: ---

$ gcc -Wcoercion test.c
cc1: error: unrecognized command line option "-Wcoercion"

$ clang -Wcoercion test.c
warning: unknown warning option '-Wcoercion'; did you mean '-Wconversion'?
[-Wunknown-warning-option]

Once PR52277 is fixed, gcc could do better here.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52277
[Bug 52277] spell corrector for misspelled identifiers


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