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

            Bug ID: 88066
           Summary: Relative includes in bits/locale_conv.h should be
                    prefixed
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zrax0111 at gmail dot com
  Target Milestone: ---

bits/locale_conv.h uses relative includes for several other headers in the
bits/ subdirectory, as #include "stringfwd.h", #include "allocator.h", etc. 
This causes a problem when using the -I- option to suppress automatic relative
include paths from the directory of the current file.

I believe it should follow the same pattern as other files in the bits/
directory and explicitly include, for example, <bits/stringfwd.h>.

Reply via email to