Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
3.1, 3.4
Description
https://github.com/mariadb-corporation/mariadb-connector-c/pull/274
makecontext has a defined prototype in ucontext.h that differs from its expected usage. Disable the clang warning for this function call.
Modelled off the af4498b776b1703a00cbb4f86ead0d0e4f5332bb commit.
3.3, 3.4+ only fix perfectly acceptable too.
Attachments
Issue Links
- blocks
-
MDBF-741 Remove the gcc UBSAN builder to use the clang based UBSAN
-
- In Testing
-
- relates to
-
MDEV-34348 MariaDB is violating clang-16 -Wcast-function-type-strict
-
- Closed
-
Reviewed the patch, it is ok.
I think the warning can also be avoided by building with cmake arg -DWITH_BOOST_CONTEXT=ON, which should make it not use ucontext even in ASAN build.