thelounge-zz commented on issue #7151:
URL: https://github.com/apache/trafficserver/issues/7151#issuecomment-738862789
8.1.1 looks very similar
CXX ParseRules.lo
CXXLD libtscore.la
ink_hrtime.cc: In function 'int64_to_str':
ink_hrtime.cc:146:10: warning: function may return address of local variable
[-Wreturn-local-addr]
146 | return out_buf;
| ^
ink_hrtime.cc:49:8: note: declared here
49 | char local_buf[local_buf_size];
| ^
Making all in iocore
Making all in eventsystem
CXX ReverseProxy.o
CXX StatPages.o
CXX Transform.o
AR libproxy.a
ControlMatcher.cc: In member function 'AllocateSpace':
ControlMatcher.cc:418:16: warning: argument 1 value '18446744073709551615'
exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
418 | data_array = new Data[num_entries];
| ^
/usr/include/c++/10/new:128:26: note: in a call to allocation function
'operator new []' declared here
128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW
(std::bad_alloc)
| ^
ControlMatcher.cc: In member function 'AllocateSpace':
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];
| ^
/usr/include/c++/10/new:128:26: note: in a call to allocation function
'operator new []' declared here
128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW
(std::bad_alloc)
| ^
ControlMatcher.cc: In member function 'AllocateSpace':
ControlMatcher.cc:418:16: warning: argument 1 value '18446744073709551615'
exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
418 | data_array = new Data[num_entries];
| ^
/usr/include/c++/10/new:128:26: note: in a call to allocation function
'operator new []' declared here
128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW
(std::bad_alloc)
| ^
ControlMatcher.cc: In member function 'AllocateSpace':
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];
| ^
/usr/include/c++/10/new:128:26: note: in a call to allocation function
'operator new []' declared here
128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW
(std::bad_alloc)
| ^
ControlMatcher.cc: In member function 'AllocateSpace':
ControlMatcher.cc:418:16: warning: argument 1 value '18446744073709551615'
exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
418 | data_array = new Data[num_entries];
| ^
/usr/include/c++/10/new:128:26: note: in a call to allocation function
'operator new []' declared here
128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW
(std::bad_alloc)
| ^
ControlMatcher.cc: In member function 'AllocateSpace':
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];
| ^
/usr/include/c++/10/new:128:26: note: in a call to allocation function
'operator new []' declared here
128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW
(std::bad_alloc)
| ^
ControlMatcher.cc: In member function 'AllocateSpace':
ControlMatcher.cc:418:16: warning: argument 1 value '18446744073709551615'
exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
418 | data_array = new Data[num_entries];
| ^
/usr/include/c++/10/new:128:26: note: in a call to allocation function
'operator new []' declared here
128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW
(std::bad_alloc)
| ^
ControlMatcher.cc: In member function 'AllocateSpace':
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];
| ^
/usr/include/c++/10/new:128:26: note: in a call to allocation function
'operator new []' declared here
128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW
(std::bad_alloc)
| ^
ControlMatcher.cc: In member function 'AllocateSpace':
ControlMatcher.cc:418:16: warning: argument 1 value '18446744073709551615'
exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
418 | data_array = new Data[num_entries];
| ^
/usr/include/c++/10/new:128:26: note: in a call to allocation function
'operator new []' declared here
128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW
(std::bad_alloc)
| ^
ControlMatcher.cc: In member function 'AllocateSpace':
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];
| ^
/usr/include/c++/10/new:128:26: note: in a call to allocation function
'operator new []' declared here
128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW
(std::bad_alloc)
| ^
ControlMatcher.cc: In member function 'AllocateSpace':
ControlMatcher.cc:418:16: warning: argument 1 value '18446744073709551615'
exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
418 | data_array = new Data[num_entries];
| ^
/usr/include/c++/10/new:128:26: note: in a call to allocation function
'operator new []' declared here
128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW
(std::bad_alloc)
| ^
ControlMatcher.cc: In member function 'AllocateSpace':
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];
| ^
/usr/include/c++/10/new:128:26: note: in a call to allocation function
'operator new []' declared here
128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW
(std::bad_alloc)
----------------------------------------------------------------
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:
[email protected]