You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2020/09/06 20:25:50 UTC

[GitHub] [trafficserver] zwoop edited a comment on issue #7151: 8.1.0: compiler warnings

zwoop edited a comment on issue #7151:
URL: https://github.com/apache/trafficserver/issues/7151#issuecomment-687892223


   This one is particularly odd:
   
   ```
   ControlMatcher.cc:280:16: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
     280 |   data_array = new Data[num_entries];
   ```
   
   That sounds to me like the compiler is assuming num_entries is a value of MAX_UINT64.


----------------------------------------------------------------
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.

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