Re: [Msys2-users] gcc6 problem when source uses the restrict keyword

2016-10-29 Thread ralph engels
> 发件人:ralph engels <ralpheng...@gmail.com> > 发送日期:2016-10-29 20:27 > 收件人:David Grayson > 抄送:Msys2 > 主题:Re: [Msys2-users] gcc6 problem when source uses the restrict keyword > > It applies to quite a few packages, problem seems to be that previous > gcc did not suppo

Re: [Msys2-users] gcc6 problem when source uses the restrict keyword

2016-10-29 Thread lhmouse
engels <ralpheng...@gmail.com> 发送日期:2016-10-29 20:27 收件人:David Grayson 抄送:Msys2 主题:Re: [Msys2-users] gcc6 problem when source uses the restrict keyword It applies to quite a few packages, problem seems to be that previous gcc did not support the restrict keyword, so it newer errored ou

Re: [Msys2-users] gcc6 problem when source uses the restrict keyword

2016-10-29 Thread ralph engels
It applies to quite a few packages, problem seems to be that previous gcc did not support the restrict keyword, so it newer errored out when compiling a source that used the restrict keyword in some other context (like the codelite source code, which uses restrict in an enumerator). I got

Re: [Msys2-users] gcc6 problem when source uses the restrict keyword

2016-10-28 Thread David Grayson
What about using __restrict instead? --David On Fri, Oct 28, 2016 at 7:46 AM, ralph engels wrote: > Not sure whats changed ? but after updating to gcc6 the restrict keyword > can no longer be used and throws an error. > > Supplying -std=c99 to flags does not fix it

[Msys2-users] gcc6 problem when source uses the restrict keyword

2016-10-28 Thread ralph engels
Not sure whats changed ? but after updating to gcc6 the restrict keyword can no longer be used and throws an error. Supplying -std=c99 to flags does not fix it either. -- The Command Line: Reinvented for Modern