-
Notifications
You must be signed in to change notification settings - Fork 84
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
Ambiguous expansion of macro 'MAX' #262
Comments
I'm not sure if we can fix that. It's not our code (and we definitely want to keep shipping unchanged sqlite3 amalgamations from upstream). You can add |
Hi @simolus3, I haven't yet tried silencing them. I'm wondering if we could include a documentation section on the docs that explains why and how to deal with these warnings that get introduced when using the package, what do you think? I did some research, this is what I found when searching for Ambiguous expansion in the SQlite forum, this post "Weird warning on the Xcode/OSX" is quite aligned with what we're experiencing. There seems to be some thoughts from the forum users about it being an XCode or Clang issue. These are the issues found by searching for "Ambiguous expansion" on the clang repository. I haven't tried reproducing the warning solely with |
I've done some research and it turns out that it's only the clang from the macOS/iOS SDK that emits these warnings. A SwiftPM project (without Flutter) compiling sqlite3 works without warnings on my Linux machine, but emits the ambiguous macro warnings when compiled on macOS.
That's definitely a good idea 👍, I'll add a section to the readme. And with the migration to SwiftPM, this will luckily not be a problem anymore since we can just do this. |
The installed sqlite3 Pod by this sqlite3_flutter_libs has a warning on line 31923 of sqlite3 is reporting
Ambiguous expansion of macro 'MAX'
Screenshot
The text was updated successfully, but these errors were encountered: