Skip to content

decoder_raw does not build with Pg 18 #55

@jw1u1

Description

@jw1u1
decoder_raw$ make
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -fPIC -fvisibility=hidden -I. -I./ -I/usr/include/postgresql/18/server -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE  -I/usr/include/libxml2     -c -o decoder_raw.o decoder_raw.c
decoder_raw.c: In function ‘_PG_output_plugin_init’:
decoder_raw.c:71:9: warning: implicit declaration of function ‘StaticAssertVariableIsOfType’; did you mean ‘AssertVariableIsOfType’? [-Wimplicit-function-declaration]
   71 |         StaticAssertVariableIsOfType(&_PG_output_plugin_init, LogicalOutputPluginInit);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         AssertVariableIsOfType
decoder_raw.c:71:63: error: expected expression before ‘LogicalOutputPluginInit’
   71 |         StaticAssertVariableIsOfType(&_PG_output_plugin_init, LogicalOutputPluginInit);
      |                                                               ^~~~~~~~~~~~~~~~~~~~~~~
make: *** [<builtin>: decoder_raw.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions