Expand debug to contain more than 31 cases

Pavel Sanda sanda at lyx.org
Thu Apr 21 12:45:39 UTC 2022


On Tue, Apr 19, 2022 at 11:12:06AM +0200, Kornel Benko wrote:
> > I am not sure that we need a verbose level yet. What about
> > -dbg find => FINDSHORT
> > -dbg find --verbose => FIND
> > 
> > JMarc
> 
> I propose to do it as a next step. Better not too many changes at once IMO.

make[5]: Entering directory '/lyx/src/support'
  CXX      debug.o
In file included from debug.cpp:15:0:
./../support/debug.h:40:10: error: 'uint64_t' does not name a type
  typedef uint64_t base_type;


Well, not that small change. On some gcc versions you need to include cstdint
header to have uint64_t available (AFAIK we don't use uint64_t anywhere else
in the code).
And including <cstdint> in debug.h which is used everywhere is not great idea.

Pavel


More information about the lyx-devel mailing list