From: | Thomas Munro <tmunro(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix C error reported by Oracle compiler. |
Date: | 2025-01-08 04:13:10 |
Message-ID: | E1tVNRO-000RWE-MP@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(at)paquier(dot)xyz>
Discussion: https://postgr.es/m/Z33vgfVgvOnbFLN9%40paquier.xyz
Branch
------
REL_14_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/049c8cb9a239c9b7136174eb038fc7cd902b487e
Modified Files
--------------
src/backend/storage/smgr/smgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2025-01-08 04:14:35 | pgsql: Fix C error reported by Oracle compiler. |
Previous Message | Thomas Munro | 2025-01-08 04:13:04 | pgsql: Fix C error reported by Oracle compiler. |