https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126581
--- Comment #13 from Hu Lin <lin1.hu at intel dot com> --- Created attachment 65217 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65217&action=edit Untested fix. This is the current version. I think -Werror=deprecated-declarations can help developers prepare in advance.
