Warnings while compiling branch

Jean-Pierre Chrétien jeanpierre.chretien at free.fr
Mon Nov 2 14:39:55 UTC 2020


Dear developers

While compiling the latest branch with this config

Configuration
   Host type:               x86_64-pc-linux-gnu
   Special build flags:      build=development std-regex warnings assertions 
stdlib-debug use-hunspell
   Bundled libraries:        boost hunspell mythes
   C++ Compiler:            g++ (8.3.0)
   C++ Compiler flags:       -Wall -Wextra -fPIC -g -O -std=c++14
   C++ Compiler user flags:
   Linker flags:
   Linker user flags:
   Qt Frontend:
       Qt version:	   5.11.3
   Packaging:               posix
   LyX binary dir:          /usr/local/bin
   LyX files dir:           /usr/local/share/lyx-2.3.6dev


I see this :

../../../2.3.x/3rdparty/hunspell/1.6.2/src/hunspell/hunspell.cxx: In member 
function ‘bool HunspellImpl::spell(const string&, int*, std::__cxx11::string*)’:
../../../2.3.x/3rdparty/hunspell/1.6.2/src/hunspell/hunspell.cxx:562:7: warning: 
this statement may fall through [-Wimplicit-fallthrough=]
        }
        ^
../../../2.3.x/3rdparty/hunspell/1.6.2/src/hunspell/hunspell.cxx:564:5: note: here
      case INITCAP: {
      ^~~~
../../../2.3.x/3rdparty/hunspell/1.6.2/src/hunspell/hunspell.cxx: In member 
function ‘std::__debug::vector<std::__cxx11::basic_string<char> > 
HunspellImpl::suggest(const string&)’:
../../../2.3.x/3rdparty/hunspell/1.6.2/src/hunspell/hunspell.cxx:900:16: 
warning: this statement may fall through [-Wimplicit-fallthrough=]
        capwords = 1;
        ~~~~~~~~~^~~
../../../2.3.x/3rdparty/hunspell/1.6.
/src/hunspell/hunspell.cxx:901:5: note: here
      case HUHCAP: {
      ^~~~
../../../2.3.x/3rdparty/hunspell/1.6.2/src/hunspell/hunspell.cxx:1012:18: 
warning: this statement may fall through [-Wimplicit-fallthrough=]
          capwords = 1;
          ~~~~~~~~~^~~
../../../2.3.x/3rdparty/hunspell/1.6.2/src/hunspell/hunspell.cxx:1013:7: note: here
        case HUHCAP: {
        ^~~~
../../../2.3.x/3rdparty/hunspell/1.6.2/src/parsers/manparser.cxx: In member 
function ‘virtual bool ManParser::next_token(std::__cxx11::string&)’:
../../../2.3.x/3rdparty/hunspell/1.6.2/src/parsers/manparser.cxx:72:17: warning: 
this statement may fall through [-Wimplicit-fallthrough=]
            state = 2;
            ~~~~~~^~~
../../../2.3.x/3rdparty/hunspell/1.6.2/src/parsers/manparser.cxx:75:7: note: here
        case 2:  // non word chars

I guess this is harmless.

-- 
Jean-Pierre


More information about the lyx-devel mailing list