Closed zvezdochiot closed 5 years ago
Instead of messing around with the compiler version, you could add a check to configure.ac
:
https://patchwork.freedesktop.org/patch/181224/
Can. But if you need to compile it on gcc 4.7.2?
The configure check checks the availability of the function, not the compiler version.
What if you compile with any version of clang?
Good question. Honestly I do not know.
No reason to prematurely close this PR! I just asked you to replace the compiler version check with a feature check in the configure script.
The reason is. PR is very specific, sharpened by gcc. Solves one problem. And others do not create?
compatibility with old versions of gcc (< 4.8.0)