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

            Bug ID: 71202
           Summary: GCC's -funsigned-char ignored by -Wpointer-sign
           Product: gcc
           Version: 6.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ideasman42 at gmail dot com
  Target Milestone: ---

Created attachment 38529
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38529&action=edit
Source file to reproduce the bug.

When passing `char *` arguments to functions which take a `unsigned char *`,
this raises a -Wpointer-sign warning, even when `-funsigned-char` is used.

Attached source file:

Compile with:

  gcc -funsigned-char -Wall foo.c

Reply via email to