[LLVMbugs] [Bug 6771] New: Quoted -D macros break static analyzer

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Apr 3 00:23:50 PDT 2010


           Summary: Quoted -D macros break static analyzer
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
        AssignedTo: kremenek at apple.com
        ReportedBy: alexei.svitkine at gmail.com
                CC: llvmbugs at cs.uiuc.edu

If a macro in the form of: -DFOO='"BAR"' is specified on the command-line to
scan-build, it will issue the following error:

<command line>:10:25: error: missing terminating '"' character
#define FOO \"BAR\"

Preventing it from working. This does not happen if clang or gcc is given that
command-line option.

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