theimpossibleastronaut / modemu2k

modemu2k is a fork of modemu, a telnet client with a modem-like user interface
https://theimpossibleastronaut.com/modemu2k
GNU General Public License v3.0
10 stars 6 forks source link

Multiple warnings show when built with '-fanalyzer' #31

Closed andy5995 closed 3 years ago

andy5995 commented 3 years ago

Warnings shown when modemu2k is built with the -fanalyzer option using gcc 11.1.0

log.txt

andy5995 commented 3 years ago

Some of these are fixed, but the ones related to cmdlex.l (flex-generated code) are still there.

deref-log.txt

andy5995 commented 3 years ago

I'm getting those warnings using flex 2.6.4 on Manjaro (gcc 11.1.0). Using the flex upstream code, from https://github.com/westes/flex the warnings go away.

https://github.com/westes/flex/issues/377