[llvm-bugs] [Bug 44365] New: -Wpragma-once-outside-header warns in a modular header unit
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Dec 22 17:05:30 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=44365
Bug ID: 44365
Summary: -Wpragma-once-outside-header warns in a modular header
unit
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: david at doublewise.net
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at metafoo.co.uk
When compiling a header unit consisting of
#pragma once
and passing the flag -Wpragma-once-outside-header, clang emits a warning. It
should not emit a warning -- header units can still be included like normal.
--
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/20191223/1bfaa7fb/attachment.html>
More information about the llvm-bugs
mailing list