mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
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.
This commit is contained in:
parent
c6e9da17a1
commit
f8e41abd8a
@ -70,6 +70,8 @@ do
|
|||||||
fi
|
fi
|
||||||
echo "}" >>/tmp/$$.c
|
echo "}" >>/tmp/$$.c
|
||||||
|
|
||||||
|
# Use -O1 to get warnings only generated by optimization,
|
||||||
|
# but -O2 is too slow.
|
||||||
cc -fsyntax-only -Werror -Wall -Wmissing-prototypes \
|
cc -fsyntax-only -Werror -Wall -Wmissing-prototypes \
|
||||||
-Wmissing-declarations -I/pg/include -I/pg/backend \
|
-Wmissing-declarations -I/pg/include -I/pg/backend \
|
||||||
-I/pg/interfaces/libpq -I`dirname $FILE` $CFLAGS -O1 -c /tmp/$$.c \
|
-I/pg/interfaces/libpq -I`dirname $FILE` $CFLAGS -O1 -c /tmp/$$.c \
|
||||||
|
Loading…
Reference in New Issue
Block a user