r268714 - in /branches/gcc-8-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Sat Feb 9 00:40:00 GMT 2019


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



More information about the Libstdc++-cvs mailing list