diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2018-07-17 16:22:13 +0200 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2018-07-17 16:22:13 +0200 |
commit | 6bc4f4e20fe3a3c60b786140dc3b1f5fc9028e29 (patch) | |
tree | 00836c0894cfab7102c3d89da313b9584393e8a2 /configure.ac | |
parent | d3ca7e5e260dcf96fe3da8a04fadcd0e4e944971 (diff) | |
download | glibmm-6bc4f4e20fe3a3c60b786140dc3b1f5fc9028e29.tar.gz |
Avoid compiler warnings from function pointer conversions
gcc8 -Wextra prints a warning when reinterpret_cast is used for conversion
between different types of function pointers. Avoid that by adding
Glib::bitwise_equivalent_cast<>() with a union with members of
the two types of function pointers.
* glib/src/optiongroup.ccg: Use Glib::bitwise_equivalent_cast<>() to convert
from a function pointer to void*.
See https://github.com/libsigcplusplus/libsigcplusplus/issues/1
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions