Skip site navigation (1) Skip section navigation (2)

Adjustment of test_fsync.c

From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: Adjustment of test_fsync.c
Date: 2007-10-18 07:56:16
Message-ID: 039d01c8115c$5c569260$c601a8c0@HP22720319231 (view raw or flat)
Thread:
Lists: pgsql-patches
Hi Bruce-san.

It is somewhat out of order at MinGW (gcc).
(CVS-HEAD)

make[1]: Leaving directory `/home/hiroshi/postgresql-8.3b1-2007-10-18/src/port'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-afterstatement -Wendif-labels 
 -fno-strict-aliasing -I../../../src/interfaces/libpq -../../../src/include -I./src/include/port/win32 
 -DEXEC_BACKEND  "-I../../../srcinclude/port/win32"  -c -o test_fsync.o test_fsync.c
test_fsync.c:75:39: macro "open" requires 3 arguments, but only 2 given
test_fsync.c: In function `main':
test_fsync.c:75: warning: assignment makes integer from pointer without a cast
test_fsync.c:93:39: macro "open" requires 3 arguments, but only 2 given
test_fsync.c:93: warning: assignment makes integer from pointer without a cast
test_fsync.c:100:39: macro "open" requires 3 arguments, but only 2 given
test_fsync.c:100: warning: assignment makes integer from pointer without a cast
test_fsync.c:114:39: macro "open" requires 3 arguments, but only 2 given
test_fsync.c:114: warning: assignment makes integer from pointer without a cast
test_fsync.c:120:39: macro "open" requires 3 arguments, but only 2 given
test_fsync.c:120: warning: assignment makes integer from pointer without a cast
test_fsync.c:172:48: macro "open" requires 3 arguments, but only 2 given
test_fsync.c:172: warning: assignment makes integer from pointer without a cast
test_fsync.c:222:38: macro "open" requires 3 arguments, but only 2 given
test_fsync.c:222: warning: assignment makes integer from pointer without a cast
test_fsync.c:242:48: macro "open" requires 3 arguments, but only 2 given
test_fsync.c:242: warning: assignment makes integer from pointer without a cast
test_fsync.c:303:38: macro "open" requires 3 arguments, but only 2 given
test_fsync.c:303: warning: assignment makes integer from pointer without a cast
make: *** [test_fsync.o] Error 1
/END

Please take this into consideration.
Thanks.

Regards,
Hiroshi Saito 

Attachment: test_fsync_patch
Description: application/octet-stream (7.2 KB)

Responses

pgsql-patches by date

Next:From: Heikki LinnakangasDate: 2007-10-18 09:28:30
Subject: Re: Why copy_relation_data only use wal whenWALarchivingis enabled
Previous:From: Jacky LengDate: 2007-10-18 07:28:45
Subject: Re: Why copy_relation_data only use wal when WALarchiving is enabled

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group