pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix C error reported by Oracle compiler.
Date: Wed, 08 Jan 2025 04:14:35 +0000
Message-ID: <E1tVNSl-000RXE-07@gemulon.postgresql.org> (raw)

Fix C error reported by Oracle compiler.

Commit 66aaabe7 (branches 13 - 17 only) was not acceptable to the Oracle
Developer Studio compiler on build farm animal wrasse.  It accidentally
used a C++ style return statement to wrap a void function.  None of the
usual compilers complained, but it is right, that is not allowed in C.
Fix.

Reported-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/Z33vgfVgvOnbFLN9%40paquier.xyz

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/417d41c658b30bbfe8ef9db624e4a8125e6225d1

Modified Files
--------------
src/backend/storage/smgr/smgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



view thread (5+ messages)

Message-ID: <E1tVNSl-000RXE-07@gemulon.postgresql.org>
Permalink:  ../E1tVNSl-000RXE-07@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tVNSl-000RXE-07@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix C error reported by Oracle compiler.
  In-Reply-To: <E1tVNSl-000RXE-07@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox