bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 43c59ee45f4a8303021d8ae22ea42a7238170f47 Author: Rene Engelhard <r...@debian.org> Date: Sun Nov 23 19:29:09 2014 +0100 gcc3_linux_powerpc64 bridges: assert -> static_assert to fix build Change-Id: I9cd345de6895b38fc766b0fe16e218a146bfb7b9 diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx index f982a93..f2e5174 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits