Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to compile #1

Open
pyramation opened this issue Oct 13, 2020 · 0 comments
Open

unable to compile #1

pyramation opened this issue Oct 13, 2020 · 0 comments

Comments

@pyramation
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant