Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
06bed485
Commit
06bed485
authored
Jul 14, 2006
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move CFLAGS for pginclude to the end of the command line.
parent
a10fc5f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/tools/pginclude/pgcompinclude
src/tools/pginclude/pgcompinclude
+3
-3
src/tools/pginclude/pgrminclude
src/tools/pginclude/pgrminclude
+3
-3
No files found.
src/tools/pginclude/pgcompinclude
View file @
06bed485
:
# report which #include files can not compile on their own
# takes -v option to display compile failure message and line numbers
# $PostgreSQL: pgsql/src/tools/pginclude/pgcompinclude,v 1.
7 2006/07/11 20:12:29
momjian Exp $
# $PostgreSQL: pgsql/src/tools/pginclude/pgcompinclude,v 1.
8 2006/07/14 01:05:13
momjian Exp $
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a" 0 1 2 3 15
find . \( -name CVS -a -prune \) -o -name '*.h' -type f -print | while read FILE
...
...
@@ -13,9 +13,9 @@ do
echo "void include_test() {" >>/tmp/$$.c
pgdefine "$FILE" >>/tmp/$$.c
echo "}" >>/tmp/$$.c
cc
$CFLAGS
-fsyntax-only -Werror -Wall -Wmissing-prototypes \
cc -fsyntax-only -Werror -Wall -Wmissing-prototypes \
-Wmissing-declarations -I/pg/include -I/pg/backend \
-I/pg/interfaces/libpq -I`dirname $FILE` -c /tmp/$$.c \
-I/pg/interfaces/libpq -I`dirname $FILE`
$CFLAGS
-c /tmp/$$.c \
-o /tmp/$$.o >/tmp/$$ 2>&1
if [ "$?" -ne 0 ]
then echo "$FILE"
...
...
src/tools/pginclude/pgrminclude
View file @
06bed485
:
# remove extra #include's
# $PostgreSQL: pgsql/src/tools/pginclude/pgrminclude,v 1.1
5 2006/07/13 18:25:09
momjian Exp $
# $PostgreSQL: pgsql/src/tools/pginclude/pgrminclude,v 1.1
6 2006/07/14 01:05:14
momjian Exp $
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
find . \( -name CVS -a -prune \) -o -type f -name '*.[ch]' -print |
...
...
@@ -61,9 +61,9 @@ do
fi
echo "}" >>/tmp/$$.c
cc
$CFLAGS
-fsyntax-only -Werror -Wall -Wmissing-prototypes \
cc -fsyntax-only -Werror -Wall -Wmissing-prototypes \
-Wmissing-declarations -I/pg/include -I/pg/backend \
-I/pg/interfaces/libpq -I`dirname $FILE` -c /tmp/$$.c \
-I/pg/interfaces/libpq -I`dirname $FILE`
$CFLAGS
-c /tmp/$$.c \
-o /tmp/$$.o >/tmp/$$ 2>&1
if [ "$?" -eq 0 ]
then echo "$FILE $INCLUDE"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment