Re: [uml-devel] [PATCH] um: handle GCC 5.x like GCC 4.x

2015-05-24 Thread Hans-Werner Hilse
Hi Richard, Am 2015-05-25 00:12, schrieb Richard Weinberger: > On Sun, May 24, 2015 at 6:12 PM, Richard Weinberger > wrote: >> Hmm, instead of continue with that hack it would be much nicer to get >> rid >> of the copy&pasted __user define. > > Hans-Werner, can you please give the attached patc

Re: [uml-devel] [PATCH] um: handle GCC 5.x like GCC 4.x

2015-05-24 Thread Richard Weinberger
On Sun, May 24, 2015 at 6:12 PM, Richard Weinberger wrote: > Hmm, instead of continue with that hack it would be much nicer to get rid > of the copy&pasted __user define. Hans-Werner, can you please give the attached patch a try? It should fix your issue too. -- Thanks, //richard diff --git a/a

Re: [uml-devel] [PATCH] um: handle GCC 5.x like GCC 4.x

2015-05-24 Thread Richard Weinberger
On Sun, May 24, 2015 at 3:23 PM, Hans-Werner Hilse wrote: > Compiler compatibility macros were conditionally defined based on > the compiler version. The it tested __GNUC__, but compared it to > a maximum value of 4, breaking compilation on now current GCC 5.x. > Thus, the check is extended to che

[uml-devel] [PATCH] um: handle GCC 5.x like GCC 4.x

2015-05-24 Thread Hans-Werner Hilse
Compiler compatibility macros were conditionally defined based on the compiler version. The it tested __GNUC__, but compared it to a maximum value of 4, breaking compilation on now current GCC 5.x. Thus, the check is extended to check for version 4.x and beyond. Signed-off-by: Hans-Werner Hilse -