Re: [ARM][PATCH] Make arm_cmse.h C99 compatible

2018-06-22 Thread Kyrill Tkachov
On 22/06/18 14:56, Andre Vieira (lists) wrote: On 05/06/18 11:18, Kyrill Tkachov wrote: > > On 05/06/18 11:03, Andre Vieira (lists) wrote: >> On 05/06/18 10:42, Kyrill Tkachov wrote: >>> Hi Andre, >>> >>> On 05/06/18 10:40, Andre Vieira (lists) wrote: Hi all, This patch makes the

Re: [ARM][PATCH] Make arm_cmse.h C99 compatible

2018-06-22 Thread Andre Vieira (lists)
On 05/06/18 11:18, Kyrill Tkachov wrote: > > On 05/06/18 11:03, Andre Vieira (lists) wrote: >> On 05/06/18 10:42, Kyrill Tkachov wrote: >>> Hi Andre, >>> >>> On 05/06/18 10:40, Andre Vieira (lists) wrote: Hi all, This patch makes the arm_cmse.h header file ISO C compliant. We were >

Re: [ARM][PATCH] Make arm_cmse.h C99 compatible

2018-06-05 Thread Kyrill Tkachov
On 05/06/18 11:03, Andre Vieira (lists) wrote: On 05/06/18 10:42, Kyrill Tkachov wrote: Hi Andre, On 05/06/18 10:40, Andre Vieira (lists) wrote: Hi all, This patch makes the arm_cmse.h header file ISO C compliant. We were using 'typeof' before when we should be using '__typeof__'. Duplicate

Re: [ARM][PATCH] Make arm_cmse.h C99 compatible

2018-06-05 Thread Andre Vieira (lists)
On 05/06/18 10:42, Kyrill Tkachov wrote: > Hi Andre, > > On 05/06/18 10:40, Andre Vieira (lists) wrote: >> Hi all, >> >> This patch makes the arm_cmse.h header file ISO C compliant. We were >> using 'typeof' before when we should be using '__typeof__'. >> Duplicated cmse-1.c with -std=c99 on the c

Re: [ARM][PATCH] Make arm_cmse.h C99 compatible

2018-06-05 Thread Kyrill Tkachov
Hi Andre, On 05/06/18 10:40, Andre Vieira (lists) wrote: Hi all, This patch makes the arm_cmse.h header file ISO C compliant. We were using 'typeof' before when we should be using '__typeof__'. Duplicated cmse-1.c with -std=c99 on the command line to test this. Ran the cmse tests for arm-none-

[ARM][PATCH] Make arm_cmse.h C99 compatible

2018-06-05 Thread Andre Vieira (lists)
Hi all, This patch makes the arm_cmse.h header file ISO C compliant. We were using 'typeof' before when we should be using '__typeof__'. Duplicated cmse-1.c with -std=c99 on the command line to test this. Ran the cmse tests for arm-none-eabi. Is this OK for trunk? Cheers, Andre gcc 2018-06-xx