Details
Description
D134831 introduced a compile-time check -Wcast-function-type-strict for something that had been reported by -fsanitize=undefined for a long time.
The flag is similar to the non-strict GCC check that we have for a long time enabled by -Wextra.
We should fix all occurrences of this warning and enable this warning in our build script when available, so that the mandatory MemorySanitizer builder that is based on clang-16 or later would fail already at compilation time.
Attachments
Issue Links
- is blocked by
-
MDEV-33161 Function pointer signature mismatch in LF_HASH
- Closed
- relates to
-
MDEV-25454 Make MariaDB server UBSAN safe
- Confirmed
-
MDEV-34408 Facilitate the addition of warnings into the build system
- Open
-
MDEV-34889 The parameters of qsort_cmp2 are in an inefficient order
- Confirmed
-
MDEV-34770 UBSAN: runtime error: load of address 0x... with insufficient space for an object of type 'uchar' in sys_vars.inl
- Stalled