I get the following warnings:

/home/scott/lyxbuilds/master/repo/src/output_docbook.cpp: In function ‘void 
lyx::{anonymous}::makeParagraph(const lyx::Text&, const lyx::Buffer&, 
lyx::XMLStream&, const lyx::OutputParams&, const const_iterator&)’:
/home/scott/lyxbuilds/master/repo/src/output_docbook.cpp:357:26: error: 
comparison of integer expressions of different signedness: ‘long int’ and ‘long 
unsigned int’ [-Werror=sign-compare]
  357 |  special_case |= nInsets == parSize && 
std::all_of(par->insetList().begin(), par->insetList().end(), 
[](InsetList::Element inset) {
      |                  ~~~~~~~~^~~~~~~~~~
/home/scott/lyxbuilds/master/repo/src/output_docbook.cpp:378:26: error: 
comparison of integer expressions of different signedness: ‘long int’ and ‘long 
unsigned int’ [-Werror=sign-compare]
  378 |  special_case |= nInsets == parSize && 
std::all_of(par->insetList().begin(), par->insetList().end(), 
isLyxCodeSpecialCase);
      |                  ~~~~~~~~^~~~~~~~~~
/home/scott/lyxbuilds/master/repo/src/output_docbook.cpp: In lambda function:
/home/scott/lyxbuilds/master/repo/src/output_docbook.cpp:401:17: error: 
comparison of integer expressions of different signedness: ‘long int’ and ‘long 
unsigned int’ [-Werror=sign-compare]
  401 |     if (nInsets != parSize)
      |         ~~~~~~~~^~~~~~~~~~
/home/scott/lyxbuilds/master/repo/src/output_docbook.cpp: In function ‘void 
lyx::{anonymous}::makeParagraph(const lyx::Text&, const lyx::Buffer&, 
lyx::XMLStream&, const lyx::OutputParams&, const const_iterator&)’:
/home/scott/lyxbuilds/master/repo/src/output_docbook.cpp:412:26: error: 
comparison of integer expressions of different signedness: ‘long int’ and ‘long 
unsigned int’ [-Werror=sign-compare]
  412 |  special_case |= nInsets == parSize && 
std::all_of(par->insetList().begin(), par->insetList().end(), 
isFlexSpecialCase);
      |                  ~~~~~~~~^~~~~~~~~~

Scott

Attachment: signature.asc
Description: PGP signature

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to