Closed fietser28 closed 1 week ago
Can you try the following?
#if __GNUC__ && defined( __has_warning )
# if __has_warning( "-Wdangling-pointer" )
# define SUPPRESSING
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wdangling-pointer"
# endif
#endif
...
#ifdef SUPPRESSING
# undef SUPPRESSING
# pragma GCC diagnostic pop
#endif
Works, no warnings or errors.
Fixed.
With the latest commit getting getting the the following compile errors:
Using: