https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116944
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:7754a8b7b4978ad82aef3ad456c5f60460b47393 commit r15-4040-g7754a8b7b4978ad82aef3ad456c5f60460b47393 Author: Jonathan Wakely <jwak...@redhat.com> Date: Thu Oct 3 11:03:41 2024 +0100 libstdc++: Fix -Wdeprecated-declarations warning for Parallel Mode [PR116944] The pragmas to disable warnings need to be moved before the first use of the deprecated classes. libstdc++-v3/ChangeLog: PR libstdc++/116944 * include/parallel/base.h: Move diagnostic pragmas earlier.