From 43c59ee45f4a8303021d8ae22ea42a7238170f47 Mon Sep 17 00:00:00 2001 From: Rene Engelhard Date: Sun, 23 Nov 2014 19:29:09 +0100 Subject: [PATCH] gcc3_linux_powerpc64 bridges: assert -> static_assert to fix build Change-Id: I9cd345de6895b38fc766b0fe16e218a146bfb7b9 --- bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx index f982a938f0b6..f2e5174a1929 100644 --- a/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx @@ -92,7 +92,7 @@ static typelib_TypeClass cpp2uno_call( ng++; // stack space - assert(sizeof(void *) == sizeof(sal_Int64), "### unexpected size!"); + static_assert(sizeof(void *) == sizeof(sal_Int64), "### unexpected size!"); // parameters void ** pUnoArgs = (void **)alloca( 4 * sizeof(void *) * nParams ); void ** pCppArgs = pUnoArgs + nParams;