Commit f8e41abd authored by Bruce Momjian's avatar Bruce Momjian

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.
parent c6e9da17
......@@ -70,6 +70,8 @@ do
fi
echo "}" >>/tmp/$$.c
# Use -O1 to get warnings only generated by optimization,
# but -O2 is too slow.
cc -fsyntax-only -Werror -Wall -Wmissing-prototypes \
-Wmissing-declarations -I/pg/include -I/pg/backend \
-I/pg/interfaces/libpq -I`dirname $FILE` $CFLAGS -O1 -c /tmp/$$.c \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment