buffer.cpp: In member function ‘unsigned char* fz::buffer::get(size_t)’: buffer.cpp:46:34: error: ‘numeric_limits’ is not a member of ‘std’ 46 | if (std::numeric_limits<size_t>::max() - capacity_ < write_size) { | ^~~~~~~~~~~~~~ buffer.cpp:46:55: error: expected primary-expression before ‘>’ token 46 | if (std::numeric_limits<size_t>::max() - capacity_ < write_size) { Reproducible: Always Steps to Reproduce: 1. emerge dev-libs/libfilezilla Package was compiled with gcc-11.1.0 on x86_64.
1) Please always give the full build.log and emerge --info 2) You may need to emerge --sync? see bug 786849. *** This bug has been marked as a duplicate of bug 786849 ***
Created attachment 706059 [details, diff] patch inserts the missing include.