Levi-Armstrong / gdb-7.7.1

GNU General Public License v2.0
4 stars 4 forks source link

Errors while executing sudo make #10

Open ghost opened 4 years ago

ghost commented 4 years ago

If I execute the "sudo make" statement I get a fallthrough error in the coffgen.c-file. Maybe because there aren't some breaks in a switch or something else. Anyone had that problem, too?

Here the error-message: "coffgen.c: In function ‘coff_print_symbol’: coffgen.c:2103:8: error: this statement may fall through [-Werror=implicit-fallthrough=] 2103 | if (combined->u.syment.n_type == T_NULL) | ^ coffgen.c:2120:3: note: here 2120 | case C_EXT: | ^~~~ coffgen.c:2122:8: error: this statement may fall through [-Werror=implicit-fallthrough=] 2122 | if (ISFCN (combined->u.syment.n_type)) | ^ coffgen.c:2140:3: note: here 2140 | default: | ^~~ cc1: all warnings being treated as errors"