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

            Bug ID: 16291
           Summary: clang 3.1 doesn't support -frecord-gcc-switches
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

In gentoo we use -frecord-gcc-switches to enable a QA check to ensure CFLAGS et
al are being respected.  When I test with CC=clang CXX=clang++ it causes me to
get a warning that my CFLAGS are being ignored.

I get the following during compilation which seems to indicate it isn't
supported:

clang: clang: warning: warning: argument unused during compilation:
'-frecord-gcc-switches'
argument unused during compilation: '-frecord-gcc-switches'


I'm not sure how hard this is to implement, but is is a very useful feature.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to