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

           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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
            Blocks: 3696


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

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

GCC:

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

Clang:

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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to