This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Jakub pointed out that the libsupc++/Makefile has targets with explicit -std=gnu++11 options, which date from before the default changed to -std=gnu++14. We no longer need to override the default to be able to compile the C++11 components. This removes those makefile targets, as well using pragmas in the sources to avoid -Wsized-deallocation warnings in the relevant files). All the files using the default options that used to compile as -std=gnu++98 or -std=gnu++11 are fine to be compiled as -std=gnu++14 using the default setting. * libsupc++/Makefile.am: Remove custom targets for files that need to be compiled as C++11 or C++14. * libsupc++/Makefile.in: Regenerate. * libsupc++/del_ops.cc: Use pragma to disable -Wsized-deallocation warnings. * libsupc++/del_opvs.cc: Likewise. Tested powerpc64le-linux, committed to trunk.
Attachment:
patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |