[Buildroot] [PATCH] nasm: Fix compilation with GCC 8

Peter Korsgaard peter at korsgaard.com
Thu May 24 21:03:29 UTC 2018


>>>>> "Carlos" == Carlos Santos <casantos at datacom.ind.br> writes:

 > host-nasm fails to compile with GCC 8:
 > In file included from ./include/nasm.h:46,
 >                  from asm/nasm.c:47:
 > ./include/nasmlib.h:194:1: error: ‘pure’ attribute on function returning ‘void’ [-Werror=attributes]
 >  void pure_func seg_init(void);
 >  ^~~~

 > Pull a patch from upstream that removes the stale declaration of
 > seg_init, which was eliminated a long time ago.

 > Signed-off-by: Carlos Santos <casantos at datacom.ind.br>

Committed to 2018.02.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list