should we change 'extern inline' to 'static inline'?

Antony Pavlov antonynpavlov at gmail.com
Wed Jul 1 22:07:33 PDT 2015


Hi!

It looks like 'extern inline' breaks gcc-5.x build.

Here is U-Boot patch https://patchwork.ozlabs.org/patch/490178/

In barebox we have several 'extern inline' functions in arch/blackfin and arch/ppc:

arch/blackfin/include/asm/io.h
arch/blackfin/include/asm/processor.h
arch/ppc/include/asm/atomic.h
arch/ppc/include/asm/bitops.h
arch/ppc/include/asm/io.h

I can't fix it by myself because I have neither blackfin nor ppc cross-compiler to check result.

-- 
Best regards,
  Antony Pavlov



More information about the barebox mailing list