Open jcelerier opened 1 year ago
I'm assuming that for some reason with ubsan, g++13 turns function pointers into more complex objects which aren't constant expressions anymore.. will try to add a check to disable the W_IF_CONSTEXPR in ubsan mode.
Does not seem too easy though: https://stackoverflow.com/questions/76853255/how-to-detect-ubsan-presence-with-g