In file included from main.cpp:121:0:
format_visitor.h: In member function 'std::__cxx11::string FormatVisitor::findWord()':
format_visitor.h:205:30: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (word_.size() > j + 5) {
~~~~~~~~~~~~~^~~~~~~
format_visitor.h:206:45: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (std::uint32_t i = j; i < j + 5; ++i) {
~~^~~~~~~
format_visitor.h: In member function 'std::__cxx11::string FormatVisitor::findWordAnother()':
format_visitor.h:230:30: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (word_.size() > j + 5) {
~~~~~~~~~~~~~^~~~~~~
format_visitor.h:231:45: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (std::uint32_t i = j; i < j + 5; ++i) {
~~^~~~~~~
cc1plus: all warnings being treated as errors
|