[Fuego] [PATCH 15/18] avoid inline function not defined problem

Bird, Timothy Tim.Bird at sony.com
Tue Oct 17 23:21:25 UTC 2017



> -----Original Message-----
> From: fuego-bounces at lists.linuxfoundation.org [mailto:fuego-
> bounces at lists.linuxfoundation.org] On Behalf Of Song Cai
> Sent: Friday, October 13, 2017 3:08 AM
> To: fuego at lists.linuxfoundation.org
> Subject: [Fuego] [PATCH 15/18] avoid inline function not defined problem
> 
> gcc default standard is now gnu11 after gcc-5.
> Different semantics for inline functions is at here [inline
> function](https://gcc.gnu.org/gcc-5/porting_to.html)
> Higher version leads to "inline function not defined" problem.
> 
> Signed-off-by: Song Cai <cais.fnst at cn.fujitsu.com>
> ---
>  engine/tests/Benchmark.tiobench/fuego_test.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/engine/tests/Benchmark.tiobench/fuego_test.sh
> b/engine/tests/Benchmark.tiobench/fuego_test.sh
> index f916335..452962b 100755
> --- a/engine/tests/Benchmark.tiobench/fuego_test.sh
> +++ b/engine/tests/Benchmark.tiobench/fuego_test.sh
> @@ -2,7 +2,7 @@ tarball=tiobench-0.3.3.tar.gz
> 
>  function test_build {
>      patch -N -s -p1 < $TEST_HOME/tiobench-fix-conflicting-types.patch
> -    make LINK="$CC" CC="$CC" AR="$AR" RANLIB="$RANLIB" CXX="$CXX"
> CPP="$CPP" CXXCPP="$CXXCPP" CFLAGS+="${CFLAGS}"
> +    make LINK="$CC" CC="$CC -std=gnu89" AR="$AR" RANLIB="$RANLIB"
> CXX="$CXX" CPP="$CPP" CXXCPP="$CXXCPP" CFLAGS+="${CFLAGS}"
>  }
> 
>  function test_deploy {
> --
> 2.9.3.windows.3

Very nice fix.  Thanks very much. Applied.
 -- Tim



More information about the Fuego mailing list