https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65974
Neil Bird <neil at fnxweb dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |neil at fnxweb dot com --- Comment #1 from Neil Bird <neil at fnxweb dot com> --- I am also seeing this, although I don't have to put anything inline. When compiling C++, I get a warning flagged at the end of each class's .cpp for every member declared deprecated in the header, even if it's not used (the bodies for those routines being in the .cpp). # Scientific Linux 6.4, 32-bit $ gcc51 -v Using built-in specs. COLLECT_GCC=gcc51 COLLECT_LTO_WRAPPER=/opt/libexec/gcc/i686-pc-linux-gnu/5.1.0/lto-wrapper Target: i686-pc-linux-gnu Configured with: ../gcc-5.1.0/configure --prefix=/opt --program-suffix=51 --enable-languages=c,c++ --with-isl=/opt Thread model: posix gcc version 5.1.0 (GCC)