[PATCH c++ 08/12] arm-linux-nat.c: Add cast
Pedro Alves
palves@redhat.com
Tue Nov 3 16:16:00 GMT 2015
On 11/03/2015 02:26 PM, Simon Marchi wrote:
> From: Simon Marchi <simon.marchi@polymtl.ca>
>
> Fixes:
>
> /home/simark/src/binutils-gdb/gdb/arm-linux-nat.c: In function âconst target_desc* arm_linux_read_description(target_ops*)â:
> /home/simark/src/binutils-gdb/gdb/../include/libiberty.h:711:38: error: invalid conversion from âvoid*â to âchar*â [-fpermissive]
> # define alloca(x) __builtin_alloca(x)
> ^
> /home/simark/src/binutils-gdb/gdb/arm-linux-nat.c:578:13: note: in expansion of macro âallocaâ
> buf = alloca (VFP_REGS_SIZE);
> ^
>
> gdb/ChangeLog:
>
> * arm-linux-nat.c (arm_linux_read_description): Add cast.
OK.
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list