Hi,

Le 16/04/2019 à 22:23, Vincent Torri a écrit :
> can you open a ticket on phab ?

Done: https://phab.enlightenment.org/T7818

Best regards,
Romain

> 
> Vincent
> 
> On Tue, Apr 16, 2019 at 10:10 PM Romain Naour <romain.na...@smile.fr> wrote:
>>
>> __has_attribute has been introduced with gcc 5 [1].
>>
>> [1] https://www.gnu.org/software/gcc/gcc-5/changes.html
>>
>> Fixes:
>> http://autobuild.buildroot.net/results/64ab825048fac1654b0d0698740ddf857fcc0afa/build-end.log
>>
>> ---
>>  src/static_libs/libunibreak/wordbreak.c | 6 ++++++
>>  1 file changed, 6 insertions(+)
>>
>> diff --git a/src/static_libs/libunibreak/wordbreak.c 
>> b/src/static_libs/libunibreak/wordbreak.c
>> index 017e0fd091..50c830c7cc 100644
>> --- a/src/static_libs/libunibreak/wordbreak.c
>> +++ b/src/static_libs/libunibreak/wordbreak.c
>> @@ -209,6 +209,9 @@ static void set_wordbreaks(
>>                  posLast = posCur;
>>                  break;
>>              }
>> +#ifndef __has_attribute
>> +# define __has_attribute(x) 0
>> +#endif
>>  #if __has_attribute(fallthrough)
>>             __attribute__((fallthrough));
>>  #endif
>> @@ -325,6 +328,9 @@ static void set_wordbreaks(
>>                  wbcSeqStart = wbcCur;
>>                  posLast = posCur;
>>              }
>> +#ifndef __has_attribute
>> +# define __has_attribute(x) 0
>> +#endif
>>  #if __has_attribute(fallthrough)
>>             __attribute__((fallthrough));
>>  #endif
>> --
>> 2.20.1
>>
>>
>>
>> _______________________________________________
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 
> 
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 



_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to