c/7655: -W name compatible, -W strict pointer compatible
ac131313@redhat.com
ac131313@redhat.com
Tue Aug 20 07:46:00 GMT 2002
>Number: 7655
>Category: c
>Synopsis: -W name compatible, -W strict pointer compatible
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Aug 20 07:46:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: ac131313@redhat.com
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
Issue a warning when two variables type names do not match
rather than their actual names. Or a variation. Things
like:
char *a;
unsigned char *b;
a = b; // warning
This could also go into a -Wstrict-pointers?
But also:
typedef unsigned char bfd_byte;
bfd_byte *a;
unsigned char *b;
a = b; // warning
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list