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