http://llvm.org/bugs/show_bug.cgi?id=7029
Summary: Assertion in Sema
Product: clang
Version: trunk
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=4810)
--> (http://llvm.org/bugs/attachment.cgi?id=4810)
Unreduced testcase
$ ./clang++ qfilesystemwatcher_inotify.ii
<skipped>
/usr/include/sys/inotify.h:36:8: error: cannot initialize a parameter of type
'void *' with an rvalue of type 'char (*)[]'
struct inotify_event
^~~~~~~~~~~~~
In file included from io/qfilesystemwatcher_inotify.cpp:1:
io/qfilesystemwatcher_inotify.cpp:366:13: note: in instantiation of member
function 'QMap<int, inotify_event>::insert'
requested here
eventForId.insert(event->wd, *event);
^
clang: /home/asl/proj/llvm/src/tools/clang/lib/Sema/SemaDeclCXX.cpp:4495: void
clang::Sema::DefineImplicitCopyAssignment(clang::SourceLocation,
clang::CXXMethodDecl*): Assertion `!Call.isInvalid() && "Call to
__builtin_memcpy cannot fail!"' failed.
--
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