Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lQsJY-0002mU-0k for pgsql-hackers@arkaria.postgresql.org; Mon, 29 Mar 2021 13:52:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lQsJV-0000Np-PF for pgsql-hackers@arkaria.postgresql.org; Mon, 29 Mar 2021 13:52:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lQsJV-0000Ni-IU for pgsql-hackers@lists.postgresql.org; Mon, 29 Mar 2021 13:52:17 +0000 Received: from mail.thelabyrinth.net ([45.56.70.56]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lQsJR-00031R-RT for pgsql-hackers@lists.postgresql.org; Mon, 29 Mar 2021 13:52:16 +0000 Received: from desktop.home.thelabyrinth.net (c-73-39-102-148.hsd1.va.comcast.net [73.39.102.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dsteele) by mail.thelabyrinth.net (Postfix) with ESMTPSA id 7629654670; Mon, 29 Mar 2021 13:52:11 +0000 (UTC) Subject: Re: [PATCH v3 1/1] Fix detection of preadv/pwritev support for OSX. To: James Hilliard , pgsql-hackers@lists.postgresql.org Cc: Sergey Shinderuk , Thomas Munro , Tom Lane References: <20210122193230.25295-1-james.hilliard1@gmail.com> From: David Steele Message-ID: Date: Mon, 29 Mar 2021 09:52:10 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi James, On 1/31/21 1:59 AM, James Hilliard wrote: > On Fri, Jan 22, 2021 at 12:32 PM James Hilliard > wrote: >> >> Fixes: >> gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -I../../../../src/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -c -o fd.o fd.c >> fd.c:3661:10: warning: 'pwritev' is only available on macOS 11.0 or newer [-Wunguarded-availability-new] >> part = pg_pwritev(fd, iov, iovcnt, offset); >> ^~~~~~~~~~ It would be better to provide this patch as an attachment so the cfbot (http://commitfest.cputube.org/) can test it. Regards, -- -David david@pgmasters.net