Skip to content

Build failure with PostgreSQL 18 beta 1 #156

Open
@wolfgangwalther

Description

@wolfgangwalther

Build failure:

src/rum.h:155:9: warning: 'ItemPointerIsMin' macro redefined [-Wmacro-redefined]
  155 | #define ItemPointerIsMin(p)  \
      |         ^
/nix/store/as2qm8a34g3c11g9xp94dz0wl5xnld8y-postgresql-18beta1-dev/include/server/access/ginblock.h:169:9: note: previous definition is here
  169 | #define ItemPointerIsMin(p)  \
      |         ^
In file included from src/rumsort.c:28:
src/rum.h:158:9: warning: 'ItemPointerSetMax' macro redefined [-Wmacro-redefined]
  158 | #define ItemPointerSetMax(p)  \
      |         ^
/nix/store/as2qm8a34g3c11g9xp94dz0wl5xnld8y-postgresql-18beta1-dev/include/server/access/ginblock.h:172:9: note: previous definition is here
  172 | #define ItemPointerSetMax(p)  \
      |         ^
In file included from src/rumsort.c:28:
src/rum.h:165:9: warning: 'ItemPointerIsLossyPage' macro redefined [-Wmacro-redefined]
  165 | #define ItemPointerIsLossyPage(p)  \
      |         ^
/nix/store/as2qm8a34g3c11g9xp94dz0wl5xnld8y-postgresql-18beta1-dev/include/server/access/ginblock.h:176:9: note: previous definition is here
  176 | #define ItemPointerIsLossyPage(p)  \
      |         ^
In file included from src/rumsort.c:28:
src/rum.h:191:3: error: typedef redefinition with different types ('struct PostingItem' vs 'struct PostingItem')
  191 | } PostingItem;
      |   ^
/nix/store/as2qm8a34g3c11g9xp94dz0wl5xnld8y-postgresql-18beta1-dev/include/server/access/ginblock.h:188:3: note: previous definition is here
  188 | } PostingItem;
      |   ^
3 warnings and 1 error generated.
make: *** [<builtin>: src/rumsort.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy