[LLVMbugs] [Bug 16667] New: Warning 'pragma once in main file' doesn't print its command line option

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jul 20 11:10:22 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16667

            Bug ID: 16667
           Summary: Warning 'pragma once in main file' doesn't print its
                    command line option
           Product: new-bugs
           Version: 3.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: alkedr at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

What it prints now:

test.cpp:1:9: warning: #pragma once in main file
#pragma once
        ^
1 warning generated.


What it should print:

test.cpp:1:9: warning: #pragma once in main file [-Wpragma-once-in-main-file]
#pragma once
        ^
1 warning generated.

-- 
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/20130720/a4555fbc/attachment.html>


More information about the llvm-bugs mailing list