Skip to content

Commit 7ca774a

Browse files
committed
Add -Wno-error to CFLAGS from gram.o as long as it's broken.
1 parent 6c74c9d commit 7ca774a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/backend/parser/Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Makefile for parser
44
#
5-
# $PostgreSQL: pgsql/src/backend/parser/Makefile,v 1.49 2009/03/07 00:13:57 alvherre Exp $
5+
# $PostgreSQL: pgsql/src/backend/parser/Makefile,v 1.50 2009/08/26 22:15:59 petere Exp $
66
#
77
#-------------------------------------------------------------------------
88

@@ -24,6 +24,11 @@ include $(top_srcdir)/src/backend/common.mk
2424
# scan is compiled as part of gram
2525
gram.o: $(srcdir)/scan.c
2626

27+
# Latest flex causes warnings in this file.
28+
ifeq ($(GCC),yes)
29+
gram.o: CFLAGS += -Wno-error
30+
endif
31+
2732

2833
# There is no correct way to write a rule that generates two files.
2934
# Rules with two targets don't have that meaning, they are merely

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy