https://bugs.llvm.org/show_bug.cgi?id=51473

            Bug ID: 51473
           Summary: Clang user's Manual: need to explicitly state that
                    -pedantic does not warn on all language extensions
           Product: clang
           Version: 12.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

Clang user's manual: need to explicitly state that -pedantic does not warn on
all language extensions. In many cases when clang -pedantic compiles the code
containing extensions the diagnostics are missing. Hence, the end user assumes
that the situation around -pedantic is the same as in gcc: "This does not mean
that _all_ non-ISO constructs get warnings or errors". If this is indeed true,
then there is a need to explicitly state in clang user's manual
(https://clang.llvm.org/docs/UsersManual.html) that -pedantic does not warn on
all language extensions.

Text before:
-pedantic
    Warn on language extensions.

Text after:
-pedantic
    Warn on language extensions.
Caution: This does not mean that _all_ non-ISO C constructs get warnings.
Reason: detection of any failure to conform to ISO C is considered to not be
worth the effort required.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to