PR libstdc++/88066 use <> for includes not ""
authorJonathan Wakely <jwakely@redhat.com>
Tue, 8 Jan 2019 13:25:19 +0000 (13:25 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 8 Jan 2019 13:25:19 +0000 (13:25 +0000)
commit9f5391ee9521e90d0f3b545893d9d4b3d98839d1
treead29a3f5641b32fd4aa90694a55bbac5254c0f0e
parente5ab5ae072f7555eb8019c16cb394c18b88b5dc2
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.

From-SVN: r267726
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_conv.h
libstdc++-v3/include/ext/random
libstdc++-v3/include/ext/vstring.h