Hi Rasmus,

(switched from gcc to gcc-patches list)

> On 26 May 2020, at 16:52, Rasmus Villemoes <r...@rasmusvillemoes.dk> wrote:
> 
> Fix
> 
> gcc-src/libgcc/config/gthr-vxworks.c:65:7: warning: implicit declaration of 
> function 'taskDelay'; did you mean 'sysDelay'? 
> [-Wimplicit-function-declaration]
>   65 |       taskDelay (1);

> --- a/libgcc/config/gthr-vxworks.c
> +++ b/libgcc/config/gthr-vxworks.c
> @@ -33,6 +33,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  
> If not, see
> #if defined(__GTHREADS)
> 
> #include <vxWorks.h>
> +#include <taskLib.h>
> 
> #ifndef __RTP__
> # include <vxLib.h>

Ok (with a ChangeLog),

Thanks,

Olivier

Reply via email to