[Bug libstdc++/60422] <bits/xxx.h> headers should give a diagnostic when included directly

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 5 09:49:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60422

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
#ifndef _GLIBCXX_MEMORY probably (but, as bits/shared_ptr.h is used also in
other headers as implementation detail, you'd probably also need to list those
guards in the preprocessor conditional).



More information about the Gcc-bugs mailing list