Opened 2 years ago

Closed 18 months ago

#66060 closed defect (fixed)

postgresql13, postgresql14 fail on 10.6.8: error: conflicting types for ‘CollationCreate’

Reported by: barracuda156 Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: snowleopard Cc:
Port: postgresql13, postgresql14

Description

:info:build pg_collation.c:55: error: conflicting types for ‘CollationCreate’
:info:build ../../../src/include/catalog/pg_collation.h:70: error: previous declaration of ‘CollationCreate’ was here
:info:build pg_collation.c: In function ‘CollationCreate’:
:info:build pg_collation.c:175: warning: passing argument 3 of ‘heap_form_tuple’ from incompatible pointer type
:info:build gnumake[3]: *** [pg_collation.o] Error 1

Change History (4)

comment:1 Changed 2 years ago by barracuda156

Port: postgresql14 added
Summary: postgresql13 fails on 10.6.8: error: conflicting types for ‘CollationCreate’postgresql13, postgresql14 fail on 10.6.8: error: conflicting types for ‘CollationCreate’

comment:2 Changed 2 years ago by barracuda156

gcc12 also fails to build:

pg_collation.c:46:1: error: conflicting types for 'CollationCreate'; have 'Oid(const char *, Oid,  Oid,  char,  _Bool,  int32,  const char *, const char *, const char *, _Bool,  _Bool)' {aka 'unsigned int(const char *, unsigned int,  unsigned int,  char,  _Bool,  int,  const char *, const char *, const char *, _Bool,  _Bool)'}
   46 | CollationCreate(const char *collname, Oid collnamespace,
      | ^~~~~~~~~~~~~~~

comment:4 Changed 18 months ago by barracuda156

Resolution: fixed
Status: assignedclosed

In 152aa8ea8a50ee5f1d40c2ed7096c2b508d7059b/macports-ports (master):

postgresql13–14: fix build with new icu on PPC
Fixes: #66060

Note: See TracTickets for help on using tickets.