[LLVMbugs] [Bug 4368] New: Suggest lowering the severity of bad quoting

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Jun 11 03:27:33 PDT 2009


           Summary: Suggest lowering the severity of bad quoting
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: ed at 80386.nl
                CC: llvmbugs at cs.uiuc.edu
            Blocks: 3696

I just saw a port (libproxy) that calls the C compiler as follows:

cc -o conftest -DFOO=\\\"bar\\\" conftest.c


<command-line>: warning: missing terminating " character


In file included from <built-in>:105:
<command line>:1:14: error: missing terminating '"' character
#define FOO \"bar\"
1 diagnostic generated.

This causes random configure tests to return the wrong result.

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