-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Fix include problems in thirdparty/jpeg-compressor/jpge.cpp
#101927
base: master
Are you sure you want to change the base?
Conversation
…ue to clang being built with FORTIFY_SOURCE>=1 on some systems. Stdio.h should have already been up there anyway, if ever used.
Thank you for your contribution, however thirdparty code shouldn't generally be modified directly In cases where it is absolutely necessary a patch should be added This needs an issue to track the problem though
The fact that the thirdparty developer rejected this fix is not a good sign IMO, this needs more context |
thirdparty/jpeg-compressor/jpge.cpp
I completely agree, yet the context of the rejection is questionable, even though normally upstream Clang should have this fixed, not the thirdparty developer. This is as you decide if it's worth to add, but it's completely understandable 3rd parties are just cloned. I have set the context from OpenEmbedded report. |
Not my decision to make but just some pointers! But please do add some more context to that rejection, it would be really relevant This should also be suggested upstream if this repo is still active (I have a vague memory that this particular one isn't), but it should at least be tracked in Clang so would be good to see what progress is being made if any on the part of llvm to solve this |
I have updated the original message to provide the full context. |
This doesn't look that difficult, but we need to reference the documents for making patches. I've forgotten the steps already. |
…ue to clang being built with FORTIFY_SOURCE>=1 on some systems. Stdio.h should have already been up there anyway, if used.
I'm compiling GoDot source via FORTIFY_SOURCE=2 clang (via Gentoo profiles), and went through the same exact issue as the one reported in the OpenEmbedded channel:
This is done via Clang 19.1.4, with makefile scons options: