zwoop commented on PR #10716:
URL: https://github.com/apache/trafficserver/pull/10716#issuecomment-1789918871
The warnings were:
```
/homer/leif/apache/trafficserver/src/iocore/cache/CacheVC.cc:91: warning:
type of ‘cache_config_ram_cache_cutoff’ does not match original declaration
[-Wlto-type-mismatch]
91 | extern int cache_config_ram_cache_cutoff;
|
/homer/leif/apache/trafficserver/src/iocore/cache/Cache.cc:57: note: type
‘int64_t’ should match type ‘int’
57 | int64_t cache_config_ram_cache_cutoff = AGG_SIZE;
```
(which repeats many times), and
```
/homer/leif/apache/trafficserver/src/proxy/ControlMatcher.cc: In member
function ‘AllocateSpace’:
/homer/leif/apache/trafficserver/src/proxy/ControlMatcher.cc:416:16:
warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size
9223372036854775807 [-Walloc-size-larger-than=]
416 | data_array = new Data[num_entries];
| ^
/usr/include/c++/11/new:128:26: note: in a call to allocation function
‘operator new []’ declared here
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]