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]

c/2291: Pedantic may be too pedantic



>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:


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