You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2022/02/11 19:35:08 UTC

[GitHub] [trafficserver] cmcfarlen commented on pull request #8658: Fix clang build issue for libswoc.

cmcfarlen commented on pull request #8658:
URL: https://github.com/apache/trafficserver/pull/8658#issuecomment-1036549386


   Still seeing compile errors with clang-13:
   
   ```
     CXX      src/bw_ip_format.lo
   In file included from src/bw_ip_format.cc:8:
   /work/lib/swoc/include/swoc/swoc_ip.h:244:50: error: type 'const swoc::IP4Addr::bytes' (aka 'const array<unsigned char, 4>') does not provide a subscript operator
       return reinterpret_cast<bytes const &>(_addr)[idx];
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
   /work/lib/swoc/include/swoc/swoc_ip.h:546:21: error: implicit instantiation of undefined template 'std::array<unsigned long, 2>'
       word_store_type _store = {0}; ///< 0 is MSW, 1 is LSW.
    ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org