https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95302
Anatol <anatol.pomozov at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anatol.pomozov at gmail dot com --- Comment #1 from Anatol <anatol.pomozov at gmail dot com> --- Shyouhei, thank you for filing this ticket. I agree that GCC should not complain about deprecated usage if the symbol is not really used. Such GCC behavior causes excessive compile time warnings when using SWIG library https://github.com/swig/swig/issues/1689#issuecomment-636109918