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

           Summary: String literals aren't compile-time constants
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


I'm sure this is well-known, but a bug report is always good to have.

At least on my platform, Linux x64, string literals are not compile-time
constants. This leads to the test cases Sema/compound-literal.c and
Sema/array-init.c failing. In both test cases, there are places where a string
literal is used in an initializer. In both test cases, these fail with,
"initializer element is not a compile-time constant".


-- 
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