[LLVMbugs] [Bug 11504] New: Parsing of -idirafter flag is stricter than clang/gcc

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 7 21:47:22 PST 2011


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

             Bug #: 11504
           Summary: Parsing of -idirafter flag is stricter than clang/gcc
           Product: clang
           Version: 3.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Static Analyzer
        AssignedTo: kremenek at apple.com
        ReportedBy: mail at justinbogner.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Specifying -idirafer/some/path (without a space) is accepted by both gcc and
clang, but scan-build (or possibly ccc-analyzer) doesn't understand this and
misses the include path. Using "-idirafter /some/path" (with a space) works
without problems.

This probably isn't a huge deal (it took me about 30 seconds to add a space in
the Makefile), but it is a bit inconsistent.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list