From 9f5391ee9521e90d0f3b545893d9d4b3d98839d1 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Tue, 8 Jan 2019 13:25:19 +0000 Subject: 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 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/include/ext/random | 4 ++-- libstdc++-v3/include/ext/vstring.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libstdc++-v3/include/ext') diff --git a/libstdc++-v3/include/ext/random b/libstdc++-v3/include/ext/random index 91c5a29..41a2962 100644 --- a/libstdc++-v3/include/ext/random +++ b/libstdc++-v3/include/ext/random @@ -3857,8 +3857,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_END_NAMESPACE_VERSION } // namespace __gnu_cxx -#include "ext/opt_random.h" -#include "random.tcc" +#include +#include #endif // _GLIBCXX_USE_C99_STDINT_TR1 && UINT32_C diff --git a/libstdc++-v3/include/ext/vstring.h b/libstdc++-v3/include/ext/vstring.h index d83ba02..ddffebf 100644 --- a/libstdc++-v3/include/ext/vstring.h +++ b/libstdc++-v3/include/ext/vstring.h @@ -2960,6 +2960,6 @@ _GLIBCXX_END_NAMESPACE_VERSION #endif // C++11 -#include "vstring.tcc" +#include #endif /* _VSTRING_H */ -- cgit v1.1