[LLVMbugs] [Bug 18333] New: -fixit-recompile drops warning flags

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Dec 27 11:46:27 PST 2013


            Bug ID: 18333
           Summary: -fixit-recompile drops warning flags
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

This program compiles fine normally, but has compilation errors with

hummer:clang thakis$ cat test.cc 
#include <memory.h>

struct A { void f() {} };

void f() {
  A* a;

  register int data;
hummer:clang thakis$ ../../Release+Asserts/bin/clang -c test.cc 
-Wno-deprecated-register -std=c++11 -Werror
hummer:clang thakis$ ../../Release+Asserts/bin/clang -c test.cc -Xclang
-fixit-recompile -Wno-deprecated-register -std=c++11 -Werror
test.cc:9:3: error: 'register' storage class specifier is deprecated
  register int data;
1 error 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/20131227/0d282450/attachment.html>

More information about the llvm-bugs mailing list