[Pkg-acpi-devel] Bug#701234: acpid: ftbfs with GCC-4.8

Ted Felix ted at tedfelix.com
Sat Feb 23 12:45:00 UTC 2013


On 02/23/2013 05:34 AM, Matthias Klose wrote:
> libnetlink.c:45:23: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]

   This was fixed in acpid 2.0.17:

-	memset(rth, 0, sizeof(rth));
+	memset(rth, 0, sizeof(struct rtnl_handle));

   Why is your 2.0.18 missing this change?

Ted.



More information about the Pkg-acpi-devel mailing list