[llvm-bugs] [Bug 33564] New: _Thread_local accepted in -std=c99

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jun 23 03:50:13 PDT 2017


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

            Bug ID: 33564
           Summary: _Thread_local accepted in -std=c99
           Product: clang
           Version: 4.0
          Hardware: PC
                OS: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: chris at bubblescope.net
                CC: llvm-bugs at lists.llvm.org

No matter what options I pass (-std=c99 -pedantic), clang still accepts the C11
keyword _Thread_local without warning. It would be nice if there was a way to
reject C11 constructs.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170623/f0798c39/attachment.html>


More information about the llvm-bugs mailing list