Hello,

Please find below some warnings which appear while successful complilation of branch (rev.34780) on Debian Lenny, with the following conf:

  Host type:                    i686-pc-linux-gnu
Special build flags: assertions concept-checks stdlib-debug warnings use-aspell use-ispell
  C   Compiler:                 gcc
  C   Compiler LyX flags:
  C   Compiler flags:           -Wextra -Wall   -g -O
  C++ Compiler:                 g++ (4.3.2)
  C++ Compiler LyX flags:
  C++ Compiler flags:           -Wextra -Wall   -g -O
  Linker flags:
  Linker user flags:
  Qt 4 Frontend:
      Qt 4 version:             4.4.3
  Packaging:                    posix
  LyX binary dir:               /usr/local/bin
  LyX files dir:                /usr/local/share/lyx-1.6.7svn


ui/CitationUi.ui: An invalid icon property 'icon' was encountered.
ui/CitationUi.ui: An invalid icon property 'icon' was encountered.
GuiImage.cpp: In member function ‘bool lyx::graphics::GuiImage::scale(const lyx::graphics::Params&)’: GuiImage.cpp:168: warning: comparison of unsigned expression < 0 is always false GuiSymbols.cpp: In member function ‘void lyx::frontend::GuiSymbols::updateSymbolList(bool)’:
GuiSymbols.cpp:437: warning: suggest parentheses around && within ||
LayoutFile.cpp: In member function ‘lyx::LayoutFileIndex lyx::LayoutFileList::addEmptyClass(const std::string&)’: LayoutFile.cpp:230: warning: suggest explicit braces to avoid ambiguous ‘else’ output_latex.cpp: In function ‘__gnu_debug::_Safe_iterator<std::__norm::_List_const_iterator<lyx::Paragraph>, std::__debug::list<lyx::Paragraph, std::allocator<lyx::Paragraph> > > lyx::<unnamed>::TeXOnePar(const lyx::Buffer&, const lyx::Text&, __gnu_debug::_Safe_iterator<std::__norm::_List_const_iterator<lyx::Paragraph>, std::__debug::list<lyx::Paragraph, std::allocator<lyx::Paragraph> > >, lyx::odocstream&, lyx::TexRow&, const lyx::OutputParams&, const std::string&)’:
output_latex.cpp:714: warning: suggest parentheses around && within ||
Paragraph.cpp: In member function ‘void lyx::Paragraph::appendString(const lyx::docstring&, const lyx::Font&, const lyx::Change&)’: Paragraph.cpp:1300: warning: comparison between signed and unsigned integer expressions insets/ExternalTemplate.h: In constructor ‘lyx::external::Template::Template()’: insets/ExternalTemplate.h:66: warning: ‘lyx::external::Template::preview_mode’ will be initialized after insets/ExternalTemplate.h:64: warning: ‘bool lyx::external::Template::automaticProduction’
insets/ExternalTemplate.cpp:52: warning:   when initialized here
insets/InsetCitation.cpp: In function ‘lyx::docstring lyx::<unnamed>::complexLabel(const lyx::Buffer&, const std::string&, const lyx::docstring&, const lyx::docstring&, const lyx::docstring&, lyx::CiteEngine)’: insets/InsetCitation.cpp:202: warning: deprecated conversion from string constant to ‘char*’ insets/InsetCitation.cpp:206: warning: deprecated conversion from string constant to ‘char*’ insets/InsetTabular.cpp: In member function ‘bool lyx::Tabular::columnRightLine(size_t) const’: insets/InsetTabular.cpp:1157: warning: suggest parentheses around && within || insets/InsetTabular.cpp: In member function ‘virtual void lyx::InsetTabular::doDispatch(lyx::Cursor&, lyx::FuncRequest&)’: insets/InsetTabular.cpp:3694: warning: suggest parentheses around && within ||

HTH

--
Jean-Pierre

Reply via email to