https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88066

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Sat Feb  9 00:40:31 2019
New Revision: 268714

URL: https://gcc.gnu.org/viewcvs?rev=268714&root=gcc&view=rev
Log:
PR libstdc++/88066 use <> for includes not ""

Using #include "..." to include a header in the same directory fails if
the user compiles with -I-, so always use something like <bits/...> for
internal headers.

I haven't added tests for this, because dg-options adds options to the
end, and the position of -I- matters (if it's at the end then the tests
won't find any headers in the build tree, as they're specified by -I
options earlier in the flags). It's been manually tested though.

        PR libstdc++/88066
        * include/bits/locale_conv.h: Use <> for includes not "".
        * include/ext/random: Likewise.
        * include/ext/vstring.h: Likewise.

Modified:
    branches/gcc-8-branch/libstdc++-v3/ChangeLog
    branches/gcc-8-branch/libstdc++-v3/include/bits/locale_conv.h
    branches/gcc-8-branch/libstdc++-v3/include/ext/random
    branches/gcc-8-branch/libstdc++-v3/include/ext/vstring.h

Reply via email to