Skip to content

Commit f8e41ab

Browse files
committed
Modify pgrminclude to include all code, even in #if blocks. Process
.h include files before .c files. Mark some includes as needed to be ignored by pgrminclude.
1 parent c6e9da1 commit f8e41ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tools/pginclude/pgrminclude

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ do
7070
fi
7171
echo "}" >>/tmp/$$.c
7272

73+
# Use -O1 to get warnings only generated by optimization,
74+
# but -O2 is too slow.
7375
cc -fsyntax-only -Werror -Wall -Wmissing-prototypes \
7476
-Wmissing-declarations -I/pg/include -I/pg/backend \
7577
-I/pg/interfaces/libpq -I`dirname $FILE` $CFLAGS -O1 -c /tmp/$$.c \

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