On 05/30/2013 11:37 AM, Eric Blake wrote: > foo.c:9:5: warning: passing argument 2 of 'sendmsg' from incompatible > pointer type > /usr/include/sys/socket.h:42:11: note: expected 'const struct msghdr *' > but argument is of type 'const struct msghdr *' > $ gcc -o foo -Wall foo.c -DWORKAROUND > $ > > Gcc has a less-than-stellar error message (expect type X but have type > X);
I just filed http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57475 for the gcc error message quality -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature