URL: <http://savannah.gnu.org/bugs/?52335>
Summary: src: Some warnings from the compiler that need fixing or explanations in the code Project: GNU troff Submitted by: bjarniig Submitted on: Sat 04 Nov 2017 12:25:21 AM UTC Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: None _______________________________________________________ Details: These need fixing, or if correct, an explanation should be added to the code. ### src/libs/libgroff/new.cpp:60:6: warning: the program should also define 'void operator delete(void*, long unsigned int)' [-Wsized-deallocation] void operator delete(void *p) ### src/roff/groff/groff.cpp: In function 'int main(int, char**)': src/roff/groff/groff.cpp:295:13: warning: this statement may fall through [-Wimplicit-fallthrough=] oflag = 1; ~~~~~~^~~ src/roff/groff/groff.cpp:296:5: note: here case 'f': ### src/preproc/grn/hdb.cpp: In function 'int DBGetType(char*)': src/preproc/grn/hdb.cpp:247:12: warning: this statement may fall through [-Wimplicit-fallthrough=] fatal("unknown element type"); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/preproc/grn/hdb.cpp:249:3: note: here case 'B': ^~~~ src/preproc/grn/hdb.cpp:258:12: warning: this statement may fall through [-Wimplicit-fallthrough=] fatal("unknown element type"); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/preproc/grn/hdb.cpp:260:3: note: here case 'T': ^~~~ src/preproc/grn/hdb.cpp:269:12: warning: this statement may fall through [-Wimplicit-fallthrough=] fatal("unknown element type"); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/preproc/grn/hdb.cpp:271:3: note: here default: ### _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?52335> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ bug-groff mailing list bug-groff@gnu.org https://lists.gnu.org/mailman/listinfo/bug-groff