mirror of https://github.com/sipwise/rtpengine.git
When the compiler does not have support for the __error__ attribute, fallback to use the GCC posion pragma, which works on both gcc and clang. It ha the advantage of being more portable and working at the preprocessor level, which means is not affected by symbol redirection due to builtin conversion or stack-protector remapping, at the cost of worse diagnostics. Change-Id: I322396f8a0d1b993637e8aca27f27f6868ecba3c Warned-by: clang-12pull/1262/head
parent
87e83467cd
commit
c09b379f41
Loading…
Reference in new issue