-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[C][Client] Add C++ reserved keywords to C-libcurl client generator #8205
Conversation
Hi @NickPak Thank you for this PR ! Could you please update the title ? e.g. And could you please complete the PR checklist above? This PR acutally is targeting the C programming language, so I copied |
@ityuhui |
OK. I can help you for the sample generating. |
This is the error log. I don't know what to do.
|
Do you mean the error log of the automatical check on this PR change? Do not worry about this, it's not the fault of your PR. |
The code change looks good to me. And I also re-generated the petstore sample, no file changed. I think this PR can be merged now. BTW: This PR will introduce a defect that if a parameter in url path is a C++ keyword, it will be escaped, e.g. I will create another PR to fix this issue. |
Hi @wing328 This PR is ready to merge. |
Pushed 2771642 to fix the CI failure. Let's see how that goes. |
Add C++ reserved keywords to C-libcurl client generator, then the C client can be compiled by C++ compiler
PR checklist
./bin/generate-samples.sh
to update all Petstore samples related to your fix. This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master. These must match the expectations made by your contribution. You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example./bin/generate-samples.sh bin/configs/java*
. For Windows users, please run the script in Git BASH.master