Print

Print


~~~
/builddir/build/BUILD/xrootd-5.5.1/src/XrdOssCsi/XrdOssCsiPages.hh:95:22: error: field 'fn_' has incomplete type 'const std::string' {aka 'const std::__cxx11::basic_string<char>'}
   95 |    const std::string fn_;
      |                      ^~~
In file included from /usr/include/c++/13/iosfwd:41,
                 from /usr/include/c++/13/bits/shared_ptr.h:52,
                 from /usr/include/c++/13/condition_variable:45,
                 from /builddir/build/BUILD/xrootd-5.5.1/src/XrdOssCsi/XrdOssCsiRanges.hh:38,
                 from /builddir/build/BUILD/xrootd-5.5.1/src/XrdOssCsi/XrdOssCsiRanges.cc:32:
/usr/include/c++/13/bits/stringfwd.h:72:11: note: declaration of 'std::string' {aka 'class std::__cxx11::basic_string<char>'}
   72 |     class basic_string;
      |           ^~~~~~~~~~~~
/builddir/build/BUILD/xrootd-5.5.1/src/XrdOssCsi/XrdOssCsiPages.hh:96:22: error: field 'tident_' has incomplete type 'const std::string' {aka 'const std::__cxx11::basic_string<char>'}
   96 |    const std::string tident_;
      |                      ^~~~~~~
/usr/include/c++/13/bits/stringfwd.h:72:11: note: declaration of 'std::string' {aka 'class std::__cxx11::basic_string<char>'}
   72 |     class basic_string;
      |           ^~~~~~~~~~~~
/builddir/build/BUILD/xrootd-5.5.1/src/XrdOssCsi/XrdOssCsiPages.hh:148:4: error: return type 'std::string' {aka 'class std::__cxx11::basic_string<char>'} is incomplete
  148 |    {
      |    ^
/builddir/build/BUILD/xrootd-5.5.1/src/XrdOssCsi/XrdOssCsiPages.hh:161:4: error: return type 'std::string' {aka 'class std::__cxx11::basic_string<char>'} is incomplete
  161 |    {
      |    ^
/builddir/build/BUILD/xrootd-5.5.1/src/XrdOssCsi/XrdOssCsiPages.hh:174:4: error: return type 'std::string' {aka 'class std::__cxx11::basic_string<char>'} is incomplete
  174 |    {
      |    ^
/builddir/build/BUILD/xrootd-5.5.1/src/XrdOssCsi/XrdOssCsiPages.hh:186:4: error: return type 'std::string' {aka 'class std::__cxx11::basic_string<char>'} is incomplete
  186 |    {
      |    ^
/builddir/build/BUILD/xrootd-5.5.1/src/XrdOssCsi/XrdOssCsiPages.hh:195:4: error: return type 'std::string' {aka 'class std::__cxx11::basic_string<char>'} is incomplete
  195 |    {
      |    ^
~~~

You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/1880

-- Commit Summary --

  * Add missing include causing build failure with gcc 13

-- File Changes --

    M src/XrdOssCsi/XrdOssCsiPages.hh (1)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/1880.patch
https://github.com/xrootd/xrootd/pull/1880.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1880
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1