-
Notifications
You must be signed in to change notification settings - Fork 5
Further improvements to installation of Checked C system headers #296
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
It sounds like we are supposed to According to the documentation, Microsoft didn't include the Checked C system headers in the Adding a related issue: it would be great if users didn't have to modify all their includes to reference the |
In my trials, cloning |
I think this issue is closed, now that the docs tell you how/where to install the headers. |
We've made it a lot better, but as stated above, as a low priority, I'd still like to convince Microsoft to (1) just ship the headers in the same repository and (2) migrate to |
But these are changes that Microsoft would have to make, not us, right? So then we should submit issues to their repository. |
Yes, this is a meta-issue asking someone (presumably me, if I get the time) to submit issues to Microsoft after checking for previous discussion on their side and gathering all the information they'll need (the general expectations before submitting issues to any repository). One of us could then consider putting in the time to submit a PR. #317 was another meta-issue until Microsoft went ahead and fixed the problem themselves (in fact, it appears they were encouraged to do so by the link to our meta-issue that they saw in our documentation), leaving us only the "issue" portion of testing their fix and updating our own documentation. In general, is it OK to file meta-issues (or in this case, let the meta-issue portion of a previous issue remain open) so we can record and discuss things ourselves and defer the work of researching them to send to Microsoft? It looks like we've created a few meta-issues with the "Upstream" label in the past. This particular meta-issue affects all Checked C users equally and has no coupling to 3C. I know there have been several such issues in the past in which you've asked me not to get involved. But I think getting involved at some point may be the right choice if the benefit to us is significant (in this case we'd be able to remove several steps from our documentation), I already have a good understanding of the solution, and no one else seems likely to step up. Does that make sense? We can still defer the decision of whether I work on this particular meta-issue. |
For such issues that are not 3C-specific, I'm happy for you to submit an issue on the Microsoft site, but then let it go at that point. OTOH, if the fix for the issue is not time consuming (perhaps a couple of hours), that's fine to do. Note that even a couple of hours is a fair percentage of your weekly workload, and I'd prefer you spend time on 3C-specific work. |
Understood. For now, I'll plan to check with you before starting on any individual PR. I'd hope neither of these PRs would take more than a couple of hours, but I know I often fail to foresee complications. I wanted to make Microsoft aware of the possible enhancements and hopefully get their agreement in principle, but I'm fine to wait a while to implement them and get other stuff done first. I went ahead and banged out both issues to Microsoft in about an hour: checkedc#957 and checkedc/checkedc#431. I think we can close this now and reopen it later if we find we have to do work on our side to adapt to the changes. |
Uh oh!
There was an error while loading. Please reload this page.
Kyle pointed out that installing the Checked C system headers in order to run the Checked C compiler (or even 3C? I presume it uses the annotated declarations to initialize its constraint solving) is manual and a bit of a pain. We should be able to do better for
checkedc-clang
developers. We could do something just for our repo for now or go ahead and take up the issue with Microsoft (especially because we plan to send a PR of our whole repo to Microsoft soon, so anything we did in our repo would get sent).For end users of Checked C / 3C (as contrasted with developers like us), Microsoft says the headers "are already on your clang system include path"; I haven't researched yet how they achieve that.
The text was updated successfully, but these errors were encountered: