-
Notifications
You must be signed in to change notification settings - Fork 80
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
Has an issue with the parser package after update to MacOS 13 #66
Comments
The underlying issue appears to be a conflict between clang v14.0.0 and the sqlc module -- see this issue. I was able to work around it by installing the Command Line Tools for XCode 13.4 from here, though I'm still on Monterey and I'm not sure if this will still work for Ventura. |
Thank you @ulfmagnetics, but I can't install |
@TruongNguyenLava This might be the same issue that was fixed in version 2.2.0 (see #64 and pganalyze/libpg_query#156) Are you seeing this with sqlc, or something else? (I've opened up a PR on sqlc to get the library dependency updated: sqlc-dev/sqlc#1921) |
Thanks @lfittl everything works perfectly in 2.2.0 |
The problem is in bison: native MacOS bison is very old (2.2). It defines a lot of garbage macroses before include directives. Instalation of bison 3.8.2 with brew fixed compilation. |
System:
Machine:
Macbook Pro M1
Go version:
1.19.3
OS:
MacOS 13
pg_query_go:
1.0.3
Summary
I don't understand why there is an error from XCode, maybe this error is related to MacOS 13.
I have googled to try to solve this but no success, do you have any ideas?
The text was updated successfully, but these errors were encountered: