external/firebird: Fix -Wincompatible-function-pointer-types
...after Clang 16 trunk
<af01f717c4
>
"Default implicit function pointer conversions diagnostic to be an error"
Change-Id: Ibe06a94f45010efdeaf0c05a661f269e7a07d561
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140095
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
ce8256032e
commit
3c967717d3
2 changed files with 12 additions and 0 deletions
|
@ -50,6 +50,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,firebird,\
|
|||
external/firebird/wnt-per-process-trace-storage.patch.1 \
|
||||
external/firebird/0001-extern-cloop-Missing-dependencies-of-compilations-on.patch.1 \
|
||||
external/firebird/configure-c99.patch \
|
||||
external/firebird/Wincompatible-function-pointer-types.patch \
|
||||
))
|
||||
|
||||
ifeq ($(OS),WNT)
|
||||
|
|
11
external/firebird/Wincompatible-function-pointer-types.patch
vendored
Executable file
11
external/firebird/Wincompatible-function-pointer-types.patch
vendored
Executable file
|
@ -0,0 +1,11 @@
|
|||
--- extern/cloop/src/tests/test1/CTest.c
|
||||
+++ extern/cloop/src/tests/test1/CTest.c
|
||||
@@ -402,7 +402,7 @@
|
||||
struct CALC_IFactory* (*createFactory)();
|
||||
|
||||
#ifdef WIN32
|
||||
- createFactory = (struct Factory* (*)()) GetProcAddress(library, "createFactory");
|
||||
+ createFactory = (struct CALC_IFactory* (*)()) GetProcAddress(library, "createFactory");
|
||||
#else
|
||||
createFactory = dlsym(library, "createFactory");
|
||||
#endif
|
Loading…
Reference in a new issue