https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82610
--- Comment #6 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Author: dmalcolm Date: Mon Oct 23 20:25:58 2017 New Revision: 254024 URL: https://gcc.gnu.org/viewcvs?rev=254024&root=gcc&view=rev Log: Add INCLUDE_UNIQUE_PTR and use it (PR bootstrap/82610) gcc/ChangeLog: PR bootstrap/82610 * system.h: Conditionally include "unique-ptr.h" if INCLUDE_UNIQUE_PTR is defined. * unique-ptr-tests.cc: Remove include of "unique-ptr.h" in favor of defining INCLUDE_UNIQUE_PTR before including "system.h". include/ChangeLog: * unique-ptr.h: Make include of <memory> conditional on C++11 or later. Modified: trunk/gcc/ChangeLog trunk/gcc/system.h trunk/gcc/unique-ptr-tests.cc trunk/include/ChangeLog trunk/include/unique-ptr.h