Le 09/06/2017 à 19:06, Scott Kostyshak a écrit :
On Tue, May 02, 2017 at 11:21:38AM +0200, Jean-Pierre Chrétien wrote:
Le 24/04/2017 à 07:41, Scott Kostyshak a écrit :

The tar balls and sig files are here:

  ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.3/lyx-2.3.0alpha1

Non-packagers, please do a quick test of compilation (from the tar ball)
and basic functionality on your platform, and let us know how it goes.

I get these warnings with Debian Jessie

1.2.5/mythes.cxx: In member function ‘int MyThes::thInitialize(const char*,
const char*)’:
1.2.5/mythes.cxx:51:29: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
     if (idxsz <= 0 || idxsz > std::numeric_limits<int>::max() /
sizeof(sizeof(char*))) {
                             ^
1.2.5/mythes.cxx: In member function ‘int MyThes::Lookup(const char*, int,
mentry**)’:
1.2.5/mythes.cxx:179:36: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
     if (nmeanings < 0 || nmeanings > std::numeric_limits<int>::max() /
sizeof(mentry))
                                    ^
insets/InsetListingsParams.cpp: In constructor
‘lyx::{anonymous}::ParValidator::ParValidator()’:
insets/InsetListingsParams.cpp:297:1: note: variable tracking size limit
exceeded with -fvar-tracking-assignments, retrying without
 ParValidator::ParValidator()
 ^
insets/InsetSpecialChar.cpp: In member function ‘virtual lyx::docstring
lyx::InsetSpecialChar::toolTip(const lyx::BufferView&, int, int) const’:
insets/InsetSpecialChar.cpp:92:9: warning: enumeration value ‘LDOTS’ not
handled in switch [-Wswitch]
  switch (kind_) {
         ^
insets/InsetSpecialChar.cpp:92:9: warning: enumeration value
‘MENU_SEPARATOR’ not handled in switch [-Wswitch]
insets/InsetSpecialChar.cpp:92:9: warning: enumeration value ‘PHRASE_LYX’
not handled in switch [-Wswitch]
insets/InsetSpecialChar.cpp:92:9: warning: enumeration value ‘PHRASE_TEX’
not handled in switch [-Wswitch]
insets/InsetSpecialChar.cpp:92:9: warning: enumeration value
‘PHRASE_LATEX2E’ not handled in switch [-Wswitch]
insets/InsetSpecialChar.cpp:92:9: warning: enumeration value ‘PHRASE_LATEX’
not handled in switch [-Wswitch]


Configuration
  Host type:               x86_64-pc-linux-gnu
  Special build flags:      build=prerelease std-regex warnings assertions
use-hunspell
  Bundled libraries:        boost mythes
  C++ Compiler:            g++ (4.9.2)
  C++ Compiler flags:       -Wall -Wextra -g -O2 -std=c++14
  C++ Compiler user flags:
  Linker flags:
  Linker user flags:
  Qt Frontend:
      Qt version:          4.8.6
  Packaging:               posix
  LyX binary dir:          /usr/local/bin
  LyX files dir:           /usr/local/share/lyx-2.3.0alpha1

Jean-Pierre, do you still get these warnings on current master?

Those in insets/InsetSpecialChar.cpp disappeared, but these remain :

../../../master/3rdparty/mythes/1.2.5/mythes.cxx: In member function ‘int MyThes::thInitialize(const char*, const char*)’: ../../../master/3rdparty/mythes/1.2.5/mythes.cxx:51:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (idxsz <= 0 || idxsz > std::numeric_limits<int>::max() / sizeof(sizeof(char*))) {
                             ^
../../../master/3rdparty/mythes/1.2.5/mythes.cxx: In member function ‘int MyThes::Lookup(const char*, int, mentry**)’: ../../../master/3rdparty/mythes/1.2.5/mythes.cxx:179:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (nmeanings < 0 || nmeanings > std::numeric_limits<int>::max() / sizeof(mentry))
                                    ^
../../master/src/insets/InsetListingsParams.cpp: In constructor ‘lyx::{anonymous}::ParValidator::ParValidator()’: ../../master/src/insets/InsetListingsParams.cpp:297:1: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
 ParValidator::ParValidator()
 ^
--
Jean-Pierre

Reply via email to