-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
poco: Patch for CMakeLists.txt to include pocomsg.rc #26093
base: master
Are you sure you want to change the base?
Conversation
Currently the generated Resource pocomsg.rc is not added to the builded DLL. This leads to warning messages (M in the Windows Eventviewer, if the `Poco::Logger` is configured to use the `EventLogChannel`.
Hello @KevDi! First of all, thank you so much for your effort and your pull request. I wanted to share a couple of thoughts. I think it’s better not to overwrite patches, as it helps maintain better traceability in the future. Also, your pull request to upstream looks excellent, and it seems they've added it to the next milestone. However, I believe it’s best to wait for that PR to be merged before merging these patches and backporting all versions to Conan Center. Let me know what you think! |
@ErniGH sounds like a plan for me. So by overwriting Patches you mean it would be better to create a seperate Patch File for this change? |
@KevDi Exactly! And add them to |
Ok i will update the PR around next week. |
@ErniGH is there a guide how to properly create the patches? I tried with |
Hello @KevDi, Unfortunately, we don't have a guide for making these patches. It is indeed done with a Best regards |
@ErniGH Thanks for the reply. I managed to get it working and updated the PR. |
@KevDi , thank you very much for the changes. I've modified a small detail to avoid noise in the changelog. We'll wait for upstream to merge the changes 😄 |
Summary
Changes to recipe: poco/1.13.3 (poco/1.14.0)
Motivation
Currently when building the Poco Library the generated Resource File
pocomsg.rc
is not included in the build of the DLL. This leads to warnings in the Windows Eventviewer if thePoco::Logger
is used with thePoco::EventLogChannel
.Details
With this Patch the
pocomsg.rc
is added to the Sources of thePoco::Foundation
DLL. Afterwards the Log Messages will be displayed correctly in the Windows EventViewer. I already opened a PR in the Poco Project and it was approved for the next Bugfix Release (1.14.1): pocoproject/poco#4803Maybe this PR should be handled before updating the Receipe to 1.14.0 ( #26090 )
config.yml