loguru icon indicating copy to clipboard operation
loguru copied to clipboard

Sanity check error

Open Peter2121 opened this issue 3 years ago • 1 comments

Hi, I'm trying to initialize loguru using init with '-v WARNING', but it is not agree with it. I get the following error on initialization: loguru.cpp:586 FATL| CHECK FAILED: argv[argc] == nullptr (N/A == N/A) Expected proper argc/argv The variables received by init are as follows: image If I comment this check out - everything works as expected. Anyway, I think you should not check argv[argc] but argv[argc-1] here, but it still fails if I change the line like this. Probably, something goes wrong in your macros...

Peter2121 avatar Nov 27 '21 18:11 Peter2121