-
- Downloads
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
Showing
- libstdc++-v3/ChangeLog 7 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/bits/locale_conv.h 4 additions, 4 deletionslibstdc++-v3/include/bits/locale_conv.h
- libstdc++-v3/include/ext/random 2 additions, 2 deletionslibstdc++-v3/include/ext/random
- libstdc++-v3/include/ext/vstring.h 1 addition, 1 deletionlibstdc++-v3/include/ext/vstring.h
Loading
Please register or sign in to comment