This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/2291: Pedantic may be too pedantic
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/2291: Pedantic may be too pedantic
- From: lw at atod dot se
- Date: 15 Mar 2001 09:55:39 -0000
- Reply-To: lw at atod dot se
>Number: 2291
>Category: c
>Synopsis: Pedantic may be too pedantic
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Mar 15 01:56:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Lars Wireen
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
It would be nice if the compiler invoked with the pedantic flag in combination with dialect specifier would warn only when using constructs that is not in the dialect definition or another way of checking the code against dialect definition of choice.
>How-To-Repeat:
gcc -std=gnu89 -pedantic gnu89-extended-code.c
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: