[LLVMbugs] [Bug 7235] New: array initializer must be an initializer list or string literal
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed May 26 06:05:27 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7235
Summary: array initializer must be an initializer list or
string literal
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: syntheticpp at gmx.net
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Created an attachment (id=4935)
--> (http://llvm.org/bugs/attachment.cgi?id=4935)
reduced test case
When compiling Qt it still stops.
clang could compile the reduced test case but clang++ not:
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is
deprecated
test-initializer.c:3:8: error: array initializer must be an initializer list or
string literal
struct inotify_event
^
test-initializer.c:16:26: note: implicit default copy constructor for
'inotify_event' first required here
struct inotify_event event = *it;
--
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