lkml.org 
[lkml]   [2015]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: arm: kprobe compilation error
From
Date
Hi Janusz

On Thu, 2015-02-05 at 16:17 +0100, Janusz Użycki wrote:
> I got the compilation error on next-20150204:
>
[...]
> In file included from arch/arm/probes/kprobes/core.c:37:
> arch/arm/probes/kprobes/core.h:43: error: '[*]' not allowed in other
> than a declaration
[...]
> gcc version 4.2.4

Thanks for reporting this, is it OK if I add to a patch to fix this a
line saying "Reported-by: Janusz Użycki <j.uzycki@elproma.com.pl>"?

Whilst the extra '*' looks like an obvious typo, it's interesting that
your error message implies that it's allowed in some situations and that
the version of GCC that I use (4.9.1) doesn't complain about it.
If it's valid C, I've no idea what that syntax that might represent.

--
Tixy



\
 
 \ /
  Last update: 2015-02-09 11:01    [W:0.126 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site