[LLVMbugs] [Bug 3340] New: "warning: cannot pass object of non-POD type 'char []' through variadic function; call will abort at runtime" suddenly appears

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jan 16 01:48:39 PST 2009


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

           Summary: "warning: cannot pass object of non-POD type 'char []'
                    through variadic function; call will abort at runtime"
                    suddenly appears
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu


when compiling screen with clang I am suddenly getting this: 

screen.c:3577:36: warning: cannot pass object of non-POD type 'char []' through
variadic function; call will abort at runtime
     Panic(0, "Screen version %s", version);
                                   ^



this wasnt the case a week or so ago... I attached "ccc -E" produced version of
screen.c as a testcase


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