Skip to content

unable to compile #1

@pyramation

Description

@pyramation

Hi! I am super excited about your parser! I am the maintainer of https://github.com/pyramation/pgsql-parser and am exploring using this as a say to potentially access the postgres parser. I tried to compile on a mac, and so far received this error message below. Do you have an ideas of what I can do? I will also try to use docker and compile for linux, but hoping to run on both systems.

Thanks!

In file included from src/parser/funcs.c:16:
In file included from src/include/context/pool_session_context.h:30:
src/include/pool.h:710:15: error: conflicting types for '__builtin___strlcpy_chk'
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:108:3: note: expanded from macro
      'strlcpy'
                __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                ^
src/include/pool.h:710:15: note: '__builtin___strlcpy_chk' is a builtin with type 'unsigned long (char *, const char *,
      unsigned long, unsigned long)'
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:108:3: note: expanded from macro
      'strlcpy'
                __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                ^
1 warning and 3 errors generated.
make: *** [src/parser/funcs.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