On 02/07/19 12:56 +0100, Jonathan Wakely wrote: >On 02/07/19 11:54 +0200, Eric Botcazou wrote: >>>Yes there are definitely still references to C++0x elsewhere in >>>libstdc++, especially in the testsuite, but let's not add new ones. >> >>It's libgcc though, not libstdc++. And it's a bit inconvenient to have c++0x >>on the one hand (gthr.h) and c++11 on the other hand (gthr-win32-thread.c); in >>other words, consistency matters too. > >Then I think we go with the attached patch to rename everything. This >could break out-of-tree ports that define __GTHREADS_CXX0X, if there >are any. We could consider making gthr.h do this after including >gthr-default.h: > >#if defined __GTHREADS_CXX0X && ! defined __GTHREADS_CXX11 ># warning "Define __GTHREADS_CXX11 instead of __GTHREADS_CXX0X" ># define __GTHREADS_CXX11 1 >#endif And with the patch this time ...