Hi all,
When building an or-tools program in C++ on Linux, using the binary distribution, I obtain a lot of signed/unsigned mismatch errors. Here is an example of one:
../or-tools/ubuntu-16.04/include/ortools/util/tuple_set.h: In member function ‘void operations_research::IntTupleSet::InsertAll(const std::vector<std::vector<long long int> >&)’:
../or-tools/ubuntu-16.04/include/ortools/util/tuple_set.h:343:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < tuples.size(); ++i) {
^hier op...
My full error log output is
here.
Why are all these mismatches in the code? Does it not matter? I was surprised to see that no question was asked about this yet on this group, so I'm curious what other people think about this.