Fails to build on 32-bit architectures
vte 0.75.0 fails to build on Debian 32-bit architectures.
Build log excerpt
../src/vte.cc: In member function ‘vte::view::Rectangle vte::terminal::Terminal::cursor_rect()’:
../src/vte.cc:9525:40: error: no matching function for call to ‘max(long unsigned int&, long int)’
9525 | cursor_width = std::max(cursor_width, long(r));
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
…
/usr/include/c++/13/bits/stl_algo.h:5805:5: note: template argument deduction/substitution failed:
../src/vte.cc:9525:40: note: mismatched types ‘std::initializer_list<_Tp>’ and ‘long unsigned int’
9525 | cursor_width = std::max(cursor_width, long(r));
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
Full build log
Click Maybe-Failed at https://buildd.debian.org/status/logs.php?pkg=vte2.91&ver=0.75.0-1
Other Info
I believe this code was added in 964c2733