Port build to gcc -fcheck-pointer-bounds
commitd2d4b0746500265eddfa3c618bd6670aaa5eee90
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 26 Nov 2016 05:24:28 +0000 (25 21:24 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 26 Nov 2016 05:25:55 +0000 (25 21:25 -0800)
tree874863a0e41ab5863d33ad715dfbba5558520f4a
parentacb5589fcd981650225e9fb2e949e3681db551c1
Port build to gcc -fcheck-pointer-bounds

This does not let Emacs run, just build.
* lib-src/etags.c (main):
* lib-src/profile.c (main):
Use return, not exit.
* src/bytecode.c (BYTE_CODE_THREADED) [__CHKP__]:
Do not define, as -fcheck-pointer-bounds is incompatible with taking
addresses of labels.
* src/menu.c (Fx_popup_dialog): Use eassume, not eassert,
to pacify gcc -fcheck-pointer-bounds -Wnull-dereference.
lib-src/etags.c
lib-src/profile.c
src/bytecode.c
src/menu.c