diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-05-13 15:31:14 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-05-13 15:31:14 -0400 |
commit | 17cc133f017cb13737e23ce0da4415daf2c34cc3 (patch) | |
tree | 45bd1e33f52902f315aa6364fd9fdf1ff152403a /src/timezone | |
parent | 81ca8686305c4c62d723ab224ad5c414f350a3a0 (diff) | |
download | postgresql-17cc133f017cb13737e23ce0da4415daf2c34cc3.tar.gz |
Dial back -Wimplicit-fallthrough to level 3
The additional pain from level 4 is excessive for the gain.
Also revert all the source annotation changes to their original
wordings, to avoid back-patching pain.
Discussion: https://postgr.es/m/31166.1589378554@sss.pgh.pa.us
Diffstat (limited to 'src/timezone')
-rw-r--r-- | src/timezone/Makefile | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/timezone/Makefile b/src/timezone/Makefile index 72cc98e1df..bf23ac9da9 100644 --- a/src/timezone/Makefile +++ b/src/timezone/Makefile @@ -55,11 +55,6 @@ ifeq (,$(ZIC)) ZIC= ./zic endif -# zic.c doesn't compile cleanly with our default -# -Wimplicit-fallthrough=4, and we don't want to touch the file since -# it's third-party code, so downgrade to 3 for that file. -zic.o: CFLAGS := $(subst -Wimplicit-fallthrough=4,-Wimplicit-fallthrough=3,$(CFLAGS)) - zic: $(ZICOBJS) | submake-libpgport $(CC) $(CFLAGS) $(ZICOBJS) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X) |