8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f261deb commit c6e9da1Copy full SHA for c6e9da1
src/tools/pginclude/pgrminclude
@@ -51,13 +51,7 @@ do
51
cat "$FILE" |
52
grep -v "^#if" |
53
grep -v "^#else" |
54
- grep -v "^#endif" |
55
- if [ "$IS_INCLUDE" = "Y" ]
56
- then # remove struct references
57
-# sed 's/->[a-zA-Z0-9_\.]*//g'
58
- cat
59
- else cat
60
- fi >/tmp/$$a
+ grep -v "^#endif" >/tmp/$$a
61
62
# set up initial file contents
63
grep -v '^#include[ ][ ]*[<"]'"$INCLUDE"'[>"]' \
@@ -78,7 +72,7 @@ do
78
72
79
73
cc -fsyntax-only -Werror -Wall -Wmissing-prototypes \
80
74
-Wmissing-declarations -I/pg/include -I/pg/backend \
81
- -I/pg/interfaces/libpq -I`dirname $FILE` $CFLAGS -c /tmp/$$.c \
75
+ -I/pg/interfaces/libpq -I`dirname $FILE` $CFLAGS -O1 -c /tmp/$$.c \
82
76
-o /tmp/$$.o >/tmp/$$ 2>&1
83
77
if [ "$?" -eq 0 ]
84
then echo "$FILE $INCLUDE"
0 commit comments