[LyX/master] Move DrawStrategy enum to update_flags.h.

José Matos jaomatos at gmail.com
Tue Jun 18 17:20:15 UTC 2024


On Tue, 2024-06-18 at 12:53 -0400, Scott Kostyshak wrote:
> I now get the following:
> 
> /home/scott/lyxbuilds/master-
> master/repo/src/frontends/qt/GuiApplication.h:117:15: error:
> 'drawStrategy' overrides a member function but is not marked
> 'override' [-Werror,-Winconsistent-missing-override]
>         DrawStrategy drawStrategy() const;
>                      ^
> /home/scott/lyxbuilds/master-
> master/repo/src/frontends/Application.h:208:23: note: overridden
> virtual function is here
>         virtual DrawStrategy drawStrategy() const = 0;
>                              ^
> 1 error generated.
> 
> Scott

Which compiler do you use?

Neither gcc 14 nor, what it will become, 15 complain about the code...

Configuration
  Host type:               x86_64-pc-linux-gnu
  Special build flags:      build=development warnings assertions
stdlib-assertions callback-printing use-hunspell use-enchant
  Bundled libraries:        nod
  C++ Compiler:            /opt/gcc-latest/bin/g++ (15.0.0)
  C++ Compiler flags:       -Wall -Wextra -fPIC -g -Og -std=c++17  -
Wno-deprecated-copy
  C++ Compiler user flags:   
  Linker flags:             -rdynamic
  Linker user flags:       
  Qt Frontend:
      Qt version:          6.7.1
  Packaging:               posix
  LyX binary dir:          /usr/local/bin
  LyX files dir:           /usr/local/share/lyx-devel

-- 
José Abílio


More information about the lyx-devel mailing list