-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Clang-Tidy fails when I include PQXX library #139286
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
Comments
@llvm/issue-subscribers-clang-tidy Author: Claudio (cla-db)
My project uses clang-tidy with no issues. Recently I added to PQXX library (https://pqxx.org/libpqxx/) to connect to a Postgres database and since then clang-tidy fails.
I can confirm that simply including the library causes the failure, no matter what the code does with that library (even nothing). Steps to reproduce:
Stack trace:
|
This is fixed in Test file: #include <pqxx/pqxx>
int main() {} Command run: Clang-tidy version:
|
Could you please confirm there is no issue with clang-tidy-20? |
Confirmed: the issue is resolved with clang-tidy-20. |
My project uses clang-tidy with no issues. Recently I added to PQXX library (https://pqxx.org/libpqxx/) to connect to a Postgres database and since then clang-tidy fails.
I can confirm that simply including the library causes the failure, no matter what the code does with that library (even nothing).
Steps to reproduce:
#include <pqxx/pqxx>
to a .cpp fileclang-tidy
on that fileStack trace:
The text was updated successfully, but these errors were encountered: