This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH c++ 08/12] arm-linux-nat.c: Add cast


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]